pub struct PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl<'a> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn supported_output_grid_sizes( self, supported_output_grid_sizes: OpticalFlowGridSizeFlagsNV ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn supported_hint_grid_sizes( self, supported_hint_grid_sizes: OpticalFlowGridSizeFlagsNV ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn hint_supported( self, hint_supported: bool ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn cost_supported( self, cost_supported: bool ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn bidirectional_flow_supported( self, bidirectional_flow_supported: bool ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn global_flow_supported( self, global_flow_supported: bool ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn min_width( self, min_width: u32 ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn min_height( self, min_height: u32 ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn max_width( self, max_width: u32 ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn max_height( self, max_height: u32 ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn max_num_regions_of_interest( self, max_num_regions_of_interest: u32 ) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceOpticalFlowPropertiesNV
pub fn build(self) -> PhysicalDeviceOpticalFlowPropertiesNV
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 PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
§type Target = PhysicalDeviceOpticalFlowPropertiesNV
type Target = PhysicalDeviceOpticalFlowPropertiesNV
The resulting type after dereferencing.
source§impl<'a> DerefMut for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceOpticalFlowPropertiesNVBuilder<'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