pub struct OpticalFlowSessionCreateFlagBitsNV(/* private fields */);Expand description
Implementations§
Source§impl OpticalFlowSessionCreateFlagBitsNV
impl OpticalFlowSessionCreateFlagBitsNV
Sourcepub const ENABLE_HINT: Self
pub const ENABLE_HINT: Self
Bit 0.
Sourcepub const ENABLE_COST: Self
pub const ENABLE_COST: Self
Bit 1.
Sourcepub const ENABLE_GLOBAL_FLOW: Self
pub const ENABLE_GLOBAL_FLOW: Self
Bit 2.
Sourcepub const ALLOW_REGIONS: Self
pub const ALLOW_REGIONS: Self
Bit 3.
Sourcepub const BOTH_DIRECTIONS: Self
pub const BOTH_DIRECTIONS: Self
Bit 4.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAndAssign for OpticalFlowSessionCreateFlagBitsNV
impl BitAndAssign for OpticalFlowSessionCreateFlagBitsNV
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for OpticalFlowSessionCreateFlagBitsNV
impl BitOrAssign for OpticalFlowSessionCreateFlagBitsNV
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for OpticalFlowSessionCreateFlagBitsNV
impl BitXorAssign for OpticalFlowSessionCreateFlagBitsNV
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for OpticalFlowSessionCreateFlagBitsNV
impl Clone for OpticalFlowSessionCreateFlagBitsNV
Source§fn clone(&self) -> OpticalFlowSessionCreateFlagBitsNV
fn clone(&self) -> OpticalFlowSessionCreateFlagBitsNV
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 OpticalFlowSessionCreateFlagBitsNV
impl Default for OpticalFlowSessionCreateFlagBitsNV
Source§fn default() -> OpticalFlowSessionCreateFlagBitsNV
fn default() -> OpticalFlowSessionCreateFlagBitsNV
Returns the “default value” for a type. Read more
Source§impl Ord for OpticalFlowSessionCreateFlagBitsNV
impl Ord for OpticalFlowSessionCreateFlagBitsNV
Source§fn cmp(&self, other: &OpticalFlowSessionCreateFlagBitsNV) -> Ordering
fn cmp(&self, other: &OpticalFlowSessionCreateFlagBitsNV) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpticalFlowSessionCreateFlagBitsNV
impl PartialEq for OpticalFlowSessionCreateFlagBitsNV
Source§fn eq(&self, other: &OpticalFlowSessionCreateFlagBitsNV) -> bool
fn eq(&self, other: &OpticalFlowSessionCreateFlagBitsNV) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OpticalFlowSessionCreateFlagBitsNV
impl PartialOrd for OpticalFlowSessionCreateFlagBitsNV
impl Copy for OpticalFlowSessionCreateFlagBitsNV
impl Eq for OpticalFlowSessionCreateFlagBitsNV
impl StructuralPartialEq for OpticalFlowSessionCreateFlagBitsNV
Auto Trait Implementations§
impl Freeze for OpticalFlowSessionCreateFlagBitsNV
impl RefUnwindSafe for OpticalFlowSessionCreateFlagBitsNV
impl Send for OpticalFlowSessionCreateFlagBitsNV
impl Sync for OpticalFlowSessionCreateFlagBitsNV
impl Unpin for OpticalFlowSessionCreateFlagBitsNV
impl UnsafeUnpin for OpticalFlowSessionCreateFlagBitsNV
impl UnwindSafe for OpticalFlowSessionCreateFlagBitsNV
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