#[repr(transparent)]pub struct OpticalFlowSessionCreateInfoNVBuilder<'b> { /* private fields */ }
Expand description
A builder for a OpticalFlowSessionCreateInfoNV
.
Implementations§
source§impl<'b> OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> OpticalFlowSessionCreateInfoNVBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsOpticalFlowSessionCreateInfoNV,
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn image_format(self, image_format: Format) -> Self
pub fn flow_vector_format(self, flow_vector_format: Format) -> Self
pub fn cost_format(self, cost_format: Format) -> Self
pub fn output_grid_size( self, output_grid_size: OpticalFlowGridSizeFlagsNV ) -> Self
pub fn hint_grid_size(self, hint_grid_size: OpticalFlowGridSizeFlagsNV) -> Self
pub fn performance_level( self, performance_level: OpticalFlowPerformanceLevelNV ) -> Self
pub fn flags(self, flags: OpticalFlowSessionCreateFlagsNV) -> Self
pub fn build(self) -> OpticalFlowSessionCreateInfoNV
Trait Implementations§
source§impl<'b> Cast for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> Cast for OpticalFlowSessionCreateInfoNVBuilder<'b>
§type Target = OpticalFlowSessionCreateInfoNV
type Target = OpticalFlowSessionCreateInfoNV
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> Clone for OpticalFlowSessionCreateInfoNVBuilder<'b>
source§fn clone(&self) -> OpticalFlowSessionCreateInfoNVBuilder<'b>
fn clone(&self) -> OpticalFlowSessionCreateInfoNVBuilder<'b>
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<'b> Debug for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> Debug for OpticalFlowSessionCreateInfoNVBuilder<'b>
source§impl<'b> Default for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> Default for OpticalFlowSessionCreateInfoNVBuilder<'b>
source§fn default() -> OpticalFlowSessionCreateInfoNVBuilder<'b>
fn default() -> OpticalFlowSessionCreateInfoNVBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> Deref for OpticalFlowSessionCreateInfoNVBuilder<'b>
source§impl<'b> DerefMut for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> DerefMut for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> Copy for OpticalFlowSessionCreateInfoNVBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> !Send for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> !Sync for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> Unpin for OpticalFlowSessionCreateInfoNVBuilder<'b>
impl<'b> UnwindSafe for OpticalFlowSessionCreateInfoNVBuilder<'b>
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