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> 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