pub struct PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
pub fn optical_flow(
self,
optical_flow: bool
) -> PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
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>
§type Target = PhysicalDeviceOpticalFlowFeaturesNV
type Target = PhysicalDeviceOpticalFlowFeaturesNV
The resulting type after dereferencing.