#[repr(C)]pub struct OpticalFlowSessionCreateInfoNV {
pub s_type: StructureType,
pub p_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
§p_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: OpticalFlowSessionCreateFlagsNV
Implementations§
Source§impl OpticalFlowSessionCreateInfoNV
impl OpticalFlowSessionCreateInfoNV
pub fn builder<'a>() -> OpticalFlowSessionCreateInfoNVBuilder<'a>
Trait Implementations§
Source§impl Clone for OpticalFlowSessionCreateInfoNV
impl Clone for OpticalFlowSessionCreateInfoNV
Source§fn clone(&self) -> OpticalFlowSessionCreateInfoNV
fn clone(&self) -> OpticalFlowSessionCreateInfoNV
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 TaggedStructure for OpticalFlowSessionCreateInfoNV
impl TaggedStructure for OpticalFlowSessionCreateInfoNV
const STRUCTURE_TYPE: StructureType = StructureType::OPTICAL_FLOW_SESSION_CREATE_INFO_NV
impl Copy for OpticalFlowSessionCreateInfoNV
Auto Trait Implementations§
impl Freeze for OpticalFlowSessionCreateInfoNV
impl RefUnwindSafe for OpticalFlowSessionCreateInfoNV
impl !Send for OpticalFlowSessionCreateInfoNV
impl !Sync 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)