#[repr(transparent)]pub struct PhysicalDeviceOpticalFlowPropertiesNVBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceOpticalFlowPropertiesNV
.
Implementations§
source§impl PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl PhysicalDeviceOpticalFlowPropertiesNVBuilder
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
pub fn build(self) -> PhysicalDeviceOpticalFlowPropertiesNV
Trait Implementations§
source§impl Cast for PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl Cast for PhysicalDeviceOpticalFlowPropertiesNVBuilder
§type Target = PhysicalDeviceOpticalFlowPropertiesNV
type Target = PhysicalDeviceOpticalFlowPropertiesNV
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl Clone for PhysicalDeviceOpticalFlowPropertiesNVBuilder
source§fn clone(&self) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder
fn clone(&self) -> PhysicalDeviceOpticalFlowPropertiesNVBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl Default for PhysicalDeviceOpticalFlowPropertiesNVBuilder
source§fn default() -> PhysicalDeviceOpticalFlowPropertiesNVBuilder
fn default() -> PhysicalDeviceOpticalFlowPropertiesNVBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceOpticalFlowPropertiesNVBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl !Send for PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl !Sync for PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl Unpin for PhysicalDeviceOpticalFlowPropertiesNVBuilder
impl UnwindSafe for PhysicalDeviceOpticalFlowPropertiesNVBuilder
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