pub struct PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
pub fn optical_flow(self, optical_flow: bool) -> Self
Sourcepub fn build(self) -> PhysicalDeviceOpticalFlowFeaturesNV
pub fn build(self) -> PhysicalDeviceOpticalFlowFeaturesNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more