pub struct OpticalFlowGridSizeFlagBitsNV(/* private fields */);Expand description
Implementations§
Source§impl OpticalFlowGridSizeFlagBitsNV
impl OpticalFlowGridSizeFlagBitsNV
pub const UNKNOWN: OpticalFlowGridSizeFlagBitsNV
Sourcepub const _1X1: OpticalFlowGridSizeFlagBitsNV
pub const _1X1: OpticalFlowGridSizeFlagBitsNV
Bit 0.
Sourcepub const _2X2: OpticalFlowGridSizeFlagBitsNV
pub const _2X2: OpticalFlowGridSizeFlagBitsNV
Bit 1.
Sourcepub const _4X4: OpticalFlowGridSizeFlagBitsNV
pub const _4X4: OpticalFlowGridSizeFlagBitsNV
Bit 2.
Sourcepub const _8X8: OpticalFlowGridSizeFlagBitsNV
pub const _8X8: OpticalFlowGridSizeFlagBitsNV
Bit 3.
pub const fn empty() -> OpticalFlowGridSizeFlagBitsNV
pub const fn from_raw(value: u32) -> OpticalFlowGridSizeFlagBitsNV
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: OpticalFlowGridSizeFlagBitsNV) -> bool
pub const fn all() -> OpticalFlowGridSizeFlagBitsNV
Trait Implementations§
Source§impl BitAnd for OpticalFlowGridSizeFlagBitsNV
impl BitAnd for OpticalFlowGridSizeFlagBitsNV
Source§type Output = OpticalFlowGridSizeFlagBitsNV
type Output = OpticalFlowGridSizeFlagBitsNV
The resulting type after applying the
& operator.Source§fn bitand(
self,
rhs: OpticalFlowGridSizeFlagBitsNV,
) -> OpticalFlowGridSizeFlagBitsNV
fn bitand( self, rhs: OpticalFlowGridSizeFlagBitsNV, ) -> OpticalFlowGridSizeFlagBitsNV
Performs the
& operation. Read moreSource§impl BitAndAssign for OpticalFlowGridSizeFlagBitsNV
impl BitAndAssign for OpticalFlowGridSizeFlagBitsNV
Source§fn bitand_assign(&mut self, rhs: OpticalFlowGridSizeFlagBitsNV)
fn bitand_assign(&mut self, rhs: OpticalFlowGridSizeFlagBitsNV)
Performs the
&= operation. Read moreSource§impl BitOr for OpticalFlowGridSizeFlagBitsNV
impl BitOr for OpticalFlowGridSizeFlagBitsNV
Source§type Output = OpticalFlowGridSizeFlagBitsNV
type Output = OpticalFlowGridSizeFlagBitsNV
The resulting type after applying the
| operator.Source§fn bitor(
self,
rhs: OpticalFlowGridSizeFlagBitsNV,
) -> OpticalFlowGridSizeFlagBitsNV
fn bitor( self, rhs: OpticalFlowGridSizeFlagBitsNV, ) -> OpticalFlowGridSizeFlagBitsNV
Performs the
| operation. Read moreSource§impl BitOrAssign for OpticalFlowGridSizeFlagBitsNV
impl BitOrAssign for OpticalFlowGridSizeFlagBitsNV
Source§fn bitor_assign(&mut self, rhs: OpticalFlowGridSizeFlagBitsNV)
fn bitor_assign(&mut self, rhs: OpticalFlowGridSizeFlagBitsNV)
Performs the
|= operation. Read moreSource§impl BitXor for OpticalFlowGridSizeFlagBitsNV
impl BitXor for OpticalFlowGridSizeFlagBitsNV
Source§type Output = OpticalFlowGridSizeFlagBitsNV
type Output = OpticalFlowGridSizeFlagBitsNV
The resulting type after applying the
^ operator.Source§fn bitxor(
self,
rhs: OpticalFlowGridSizeFlagBitsNV,
) -> OpticalFlowGridSizeFlagBitsNV
fn bitxor( self, rhs: OpticalFlowGridSizeFlagBitsNV, ) -> OpticalFlowGridSizeFlagBitsNV
Performs the
^ operation. Read moreSource§impl BitXorAssign for OpticalFlowGridSizeFlagBitsNV
impl BitXorAssign for OpticalFlowGridSizeFlagBitsNV
Source§fn bitxor_assign(&mut self, rhs: OpticalFlowGridSizeFlagBitsNV)
fn bitxor_assign(&mut self, rhs: OpticalFlowGridSizeFlagBitsNV)
Performs the
^= operation. Read moreSource§impl Clone for OpticalFlowGridSizeFlagBitsNV
impl Clone for OpticalFlowGridSizeFlagBitsNV
Source§fn clone(&self) -> OpticalFlowGridSizeFlagBitsNV
fn clone(&self) -> OpticalFlowGridSizeFlagBitsNV
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpticalFlowGridSizeFlagBitsNV
Source§impl Default for OpticalFlowGridSizeFlagBitsNV
impl Default for OpticalFlowGridSizeFlagBitsNV
Source§fn default() -> OpticalFlowGridSizeFlagBitsNV
fn default() -> OpticalFlowGridSizeFlagBitsNV
Returns the “default value” for a type. Read more
impl Eq for OpticalFlowGridSizeFlagBitsNV
Source§impl Hash for OpticalFlowGridSizeFlagBitsNV
impl Hash for OpticalFlowGridSizeFlagBitsNV
Source§impl Not for OpticalFlowGridSizeFlagBitsNV
impl Not for OpticalFlowGridSizeFlagBitsNV
Source§type Output = OpticalFlowGridSizeFlagBitsNV
type Output = OpticalFlowGridSizeFlagBitsNV
The resulting type after applying the
! operator.Source§fn not(self) -> OpticalFlowGridSizeFlagBitsNV
fn not(self) -> OpticalFlowGridSizeFlagBitsNV
Performs the unary
! operation. Read moreSource§impl Ord for OpticalFlowGridSizeFlagBitsNV
impl Ord for OpticalFlowGridSizeFlagBitsNV
Source§fn cmp(&self, other: &OpticalFlowGridSizeFlagBitsNV) -> Ordering
fn cmp(&self, other: &OpticalFlowGridSizeFlagBitsNV) -> Ordering
1.21.0 (const: unstable) · 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 OpticalFlowGridSizeFlagBitsNV
impl PartialEq for OpticalFlowGridSizeFlagBitsNV
Source§fn eq(&self, other: &OpticalFlowGridSizeFlagBitsNV) -> bool
fn eq(&self, other: &OpticalFlowGridSizeFlagBitsNV) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OpticalFlowGridSizeFlagBitsNV
impl PartialOrd for OpticalFlowGridSizeFlagBitsNV
impl StructuralPartialEq for OpticalFlowGridSizeFlagBitsNV
Auto Trait Implementations§
impl Freeze for OpticalFlowGridSizeFlagBitsNV
impl RefUnwindSafe for OpticalFlowGridSizeFlagBitsNV
impl Send for OpticalFlowGridSizeFlagBitsNV
impl Sync for OpticalFlowGridSizeFlagBitsNV
impl Unpin for OpticalFlowGridSizeFlagBitsNV
impl UnsafeUnpin for OpticalFlowGridSizeFlagBitsNV
impl UnwindSafe for OpticalFlowGridSizeFlagBitsNV
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