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 ) -> Self
pub fn supported_hint_grid_sizes( self, supported_hint_grid_sizes: OpticalFlowGridSizeFlagsNV ) -> Self
pub fn hint_supported(self, hint_supported: bool) -> Self
pub fn cost_supported(self, cost_supported: bool) -> Self
pub fn bidirectional_flow_supported( self, bidirectional_flow_supported: bool ) -> Self
pub fn global_flow_supported(self, global_flow_supported: bool) -> Self
pub fn min_width(self, min_width: u32) -> Self
pub fn min_height(self, min_height: u32) -> Self
pub fn max_width(self, max_width: u32) -> Self
pub fn max_height(self, max_height: u32) -> Self
pub fn max_num_regions_of_interest( self, max_num_regions_of_interest: u32 ) -> Self
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>
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