Struct vulkanalia::vk::OpticalFlowSessionCreateInfoNV
source · #[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: OpticalFlowSessionCreateFlagsNV
Trait Implementations§
source§impl Cast for OpticalFlowSessionCreateInfoNV
impl Cast for OpticalFlowSessionCreateInfoNV
§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 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 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<OpticalFlowSessionCreateInfoNV> for OpticalFlowSessionCreateInfoNV
impl PartialEq<OpticalFlowSessionCreateInfoNV> for OpticalFlowSessionCreateInfoNV
source§fn eq(&self, other: &OpticalFlowSessionCreateInfoNV) -> bool
fn eq(&self, other: &OpticalFlowSessionCreateInfoNV) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OpticalFlowSessionCreateInfoNV
impl Eq for OpticalFlowSessionCreateInfoNV
impl StructuralEq for OpticalFlowSessionCreateInfoNV
impl StructuralPartialEq for OpticalFlowSessionCreateInfoNV
Auto Trait Implementations§
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