Struct screen_13::prelude::vk::OpticalFlowGridSizeFlagsNV
source · pub struct OpticalFlowGridSizeFlagsNV(/* private fields */);
Expand description
Implementations§
source§impl OpticalFlowGridSizeFlagsNV
impl OpticalFlowGridSizeFlagsNV
pub const fn empty() -> OpticalFlowGridSizeFlagsNV
pub const fn from_raw(x: u32) -> OpticalFlowGridSizeFlagsNV
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: OpticalFlowGridSizeFlagsNV) -> bool
sourcepub const fn contains(self, other: OpticalFlowGridSizeFlagsNV) -> bool
pub const fn contains(self, other: OpticalFlowGridSizeFlagsNV) -> bool
Returns whether other
is a subset of self
source§impl OpticalFlowGridSizeFlagsNV
impl OpticalFlowGridSizeFlagsNV
pub const UNKNOWN: OpticalFlowGridSizeFlagsNV = _
pub const TYPE_1X1: OpticalFlowGridSizeFlagsNV = _
pub const TYPE_2X2: OpticalFlowGridSizeFlagsNV = _
pub const TYPE_4X4: OpticalFlowGridSizeFlagsNV = _
pub const TYPE_8X8: OpticalFlowGridSizeFlagsNV = _
Trait Implementations§
source§impl BitAnd for OpticalFlowGridSizeFlagsNV
impl BitAnd for OpticalFlowGridSizeFlagsNV
§type Output = OpticalFlowGridSizeFlagsNV
type Output = OpticalFlowGridSizeFlagsNV
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: OpticalFlowGridSizeFlagsNV) -> OpticalFlowGridSizeFlagsNV
fn bitand(self, rhs: OpticalFlowGridSizeFlagsNV) -> OpticalFlowGridSizeFlagsNV
Performs the
&
operation. Read moresource§impl BitAndAssign for OpticalFlowGridSizeFlagsNV
impl BitAndAssign for OpticalFlowGridSizeFlagsNV
source§fn bitand_assign(&mut self, rhs: OpticalFlowGridSizeFlagsNV)
fn bitand_assign(&mut self, rhs: OpticalFlowGridSizeFlagsNV)
Performs the
&=
operation. Read moresource§impl BitOr for OpticalFlowGridSizeFlagsNV
impl BitOr for OpticalFlowGridSizeFlagsNV
§type Output = OpticalFlowGridSizeFlagsNV
type Output = OpticalFlowGridSizeFlagsNV
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: OpticalFlowGridSizeFlagsNV) -> OpticalFlowGridSizeFlagsNV
fn bitor(self, rhs: OpticalFlowGridSizeFlagsNV) -> OpticalFlowGridSizeFlagsNV
Performs the
|
operation. Read moresource§impl BitOrAssign for OpticalFlowGridSizeFlagsNV
impl BitOrAssign for OpticalFlowGridSizeFlagsNV
source§fn bitor_assign(&mut self, rhs: OpticalFlowGridSizeFlagsNV)
fn bitor_assign(&mut self, rhs: OpticalFlowGridSizeFlagsNV)
Performs the
|=
operation. Read moresource§impl BitXor for OpticalFlowGridSizeFlagsNV
impl BitXor for OpticalFlowGridSizeFlagsNV
§type Output = OpticalFlowGridSizeFlagsNV
type Output = OpticalFlowGridSizeFlagsNV
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: OpticalFlowGridSizeFlagsNV) -> OpticalFlowGridSizeFlagsNV
fn bitxor(self, rhs: OpticalFlowGridSizeFlagsNV) -> OpticalFlowGridSizeFlagsNV
Performs the
^
operation. Read moresource§impl BitXorAssign for OpticalFlowGridSizeFlagsNV
impl BitXorAssign for OpticalFlowGridSizeFlagsNV
source§fn bitxor_assign(&mut self, rhs: OpticalFlowGridSizeFlagsNV)
fn bitxor_assign(&mut self, rhs: OpticalFlowGridSizeFlagsNV)
Performs the
^=
operation. Read moresource§impl Clone for OpticalFlowGridSizeFlagsNV
impl Clone for OpticalFlowGridSizeFlagsNV
source§fn clone(&self) -> OpticalFlowGridSizeFlagsNV
fn clone(&self) -> OpticalFlowGridSizeFlagsNV
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 Debug for OpticalFlowGridSizeFlagsNV
impl Debug for OpticalFlowGridSizeFlagsNV
source§impl Default for OpticalFlowGridSizeFlagsNV
impl Default for OpticalFlowGridSizeFlagsNV
source§fn default() -> OpticalFlowGridSizeFlagsNV
fn default() -> OpticalFlowGridSizeFlagsNV
Returns the “default value” for a type. Read more
source§impl Hash for OpticalFlowGridSizeFlagsNV
impl Hash for OpticalFlowGridSizeFlagsNV
source§impl Not for OpticalFlowGridSizeFlagsNV
impl Not for OpticalFlowGridSizeFlagsNV
§type Output = OpticalFlowGridSizeFlagsNV
type Output = OpticalFlowGridSizeFlagsNV
The resulting type after applying the
!
operator.source§fn not(self) -> OpticalFlowGridSizeFlagsNV
fn not(self) -> OpticalFlowGridSizeFlagsNV
Performs the unary
!
operation. Read moresource§impl Ord for OpticalFlowGridSizeFlagsNV
impl Ord for OpticalFlowGridSizeFlagsNV
source§fn cmp(&self, other: &OpticalFlowGridSizeFlagsNV) -> Ordering
fn cmp(&self, other: &OpticalFlowGridSizeFlagsNV) -> 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 OpticalFlowGridSizeFlagsNV
impl PartialEq for OpticalFlowGridSizeFlagsNV
source§fn eq(&self, other: &OpticalFlowGridSizeFlagsNV) -> bool
fn eq(&self, other: &OpticalFlowGridSizeFlagsNV) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OpticalFlowGridSizeFlagsNV
impl PartialOrd for OpticalFlowGridSizeFlagsNV
source§fn partial_cmp(&self, other: &OpticalFlowGridSizeFlagsNV) -> Option<Ordering>
fn partial_cmp(&self, other: &OpticalFlowGridSizeFlagsNV) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OpticalFlowGridSizeFlagsNV
impl Eq for OpticalFlowGridSizeFlagsNV
impl StructuralPartialEq for OpticalFlowGridSizeFlagsNV
Auto Trait Implementations§
impl RefUnwindSafe for OpticalFlowGridSizeFlagsNV
impl Send for OpticalFlowGridSizeFlagsNV
impl Sync for OpticalFlowGridSizeFlagsNV
impl Unpin for OpticalFlowGridSizeFlagsNV
impl UnwindSafe for OpticalFlowGridSizeFlagsNV
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.