#[repr(C)]pub struct OpticalFlowSessionCreateInfoNV {
pub s_type: StructureType,
pub next: *mut c_void,
pub width: u32,
pub height: u32,
pub image_format: Format,
pub flow_vector_format: Format,
pub cost_format: Format,
pub output_grid_size: OpticalFlowGridSizeFlagsNV,
pub hint_grid_size: OpticalFlowGridSizeFlagsNV,
pub performance_level: OpticalFlowPerformanceLevelNV,
pub flags: OpticalFlowSessionCreateFlagsNV,
}Expand description
Fields§
§s_type: StructureType§next: *mut c_void§width: u32§height: u32§image_format: Format§flow_vector_format: Format§cost_format: Format§output_grid_size: OpticalFlowGridSizeFlagsNV§hint_grid_size: OpticalFlowGridSizeFlagsNV§performance_level: OpticalFlowPerformanceLevelNV§flags: OpticalFlowSessionCreateFlagsNVTrait Implementations§
Source§impl Cast for OpticalFlowSessionCreateInfoNV
impl Cast for OpticalFlowSessionCreateInfoNV
Source§type Target = OpticalFlowSessionCreateInfoNV
type Target = OpticalFlowSessionCreateInfoNV
The other type this type can be used interchangeably with in FFI.
Source§impl Clone for OpticalFlowSessionCreateInfoNV
impl Clone for OpticalFlowSessionCreateInfoNV
Source§fn clone(&self) -> OpticalFlowSessionCreateInfoNV
fn clone(&self) -> OpticalFlowSessionCreateInfoNV
Returns a duplicate 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 OpticalFlowSessionCreateInfoNV
impl Default for OpticalFlowSessionCreateInfoNV
Source§fn default() -> OpticalFlowSessionCreateInfoNV
fn default() -> OpticalFlowSessionCreateInfoNV
Returns the “default value” for a type. Read more
Source§impl<'b> HasBuilder<'b> for OpticalFlowSessionCreateInfoNV
impl<'b> HasBuilder<'b> for OpticalFlowSessionCreateInfoNV
Source§impl PartialEq for OpticalFlowSessionCreateInfoNV
impl PartialEq for OpticalFlowSessionCreateInfoNV
Source§fn eq(&self, other: &OpticalFlowSessionCreateInfoNV) -> bool
fn eq(&self, other: &OpticalFlowSessionCreateInfoNV) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OpticalFlowSessionCreateInfoNV
impl Eq for OpticalFlowSessionCreateInfoNV
impl Send for OpticalFlowSessionCreateInfoNV
impl StructuralPartialEq for OpticalFlowSessionCreateInfoNV
impl Sync for OpticalFlowSessionCreateInfoNV
Auto Trait Implementations§
impl Freeze for OpticalFlowSessionCreateInfoNV
impl RefUnwindSafe for OpticalFlowSessionCreateInfoNV
impl Unpin for OpticalFlowSessionCreateInfoNV
impl UnwindSafe for OpticalFlowSessionCreateInfoNV
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