#[repr(C)]pub struct OpticalFlowSessionCreateInfoNV {
pub sType: StructureType,
pub pNext: *mut c_void,
pub width: u32,
pub height: u32,
pub imageFormat: Format,
pub flowVectorFormat: Format,
pub costFormat: Format,
pub outputGridSize: OpticalFlowGridSizeFlagsNV,
pub hintGridSize: OpticalFlowGridSizeFlagsNV,
pub performanceLevel: OpticalFlowPerformanceLevelNV,
pub flags: OpticalFlowSessionCreateFlagsNV,
}Fields§
§sType: StructureType§pNext: *mut c_void§width: u32§height: u32§imageFormat: Format§flowVectorFormat: Format§costFormat: Format§outputGridSize: OpticalFlowGridSizeFlagsNV§hintGridSize: OpticalFlowGridSizeFlagsNV§performanceLevel: OpticalFlowPerformanceLevelNV§flags: OpticalFlowSessionCreateFlagsNVTrait Implementations§
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 moreimpl 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