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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.