Struct linux_video_core::Vp8SegmentFlag
source · #[repr(transparent)]pub struct Vp8SegmentFlag { /* private fields */ }
Implementations§
source§impl Vp8SegmentFlag
impl Vp8SegmentFlag
pub const Enabled: Vp8SegmentFlag = _
pub const UpdateMap: Vp8SegmentFlag = _
pub const UpdateFeatureData: Vp8SegmentFlag = _
pub const DeltaValueMode: Vp8SegmentFlag = _
sourcepub const fn intersects(&self, other: Self) -> bool
pub const fn intersects(&self, other: Self) -> bool
self intersects one of the other
(self & other) != 0 || other == 0
Trait Implementations§
source§impl Binary for Vp8SegmentFlag
impl Binary for Vp8SegmentFlag
source§impl BitAnd<Vp8SegmentFlag> for Vp8SegmentFlag
impl BitAnd<Vp8SegmentFlag> for Vp8SegmentFlag
source§impl BitAndAssign<Vp8SegmentFlag> for Vp8SegmentFlag
impl BitAndAssign<Vp8SegmentFlag> for Vp8SegmentFlag
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr<Vp8SegmentFlag> for Vp8SegmentFlag
impl BitOr<Vp8SegmentFlag> for Vp8SegmentFlag
source§impl BitOrAssign<Vp8SegmentFlag> for Vp8SegmentFlag
impl BitOrAssign<Vp8SegmentFlag> for Vp8SegmentFlag
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor<Vp8SegmentFlag> for Vp8SegmentFlag
impl BitXor<Vp8SegmentFlag> for Vp8SegmentFlag
source§impl BitXorAssign<Vp8SegmentFlag> for Vp8SegmentFlag
impl BitXorAssign<Vp8SegmentFlag> for Vp8SegmentFlag
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for Vp8SegmentFlag
impl Clone for Vp8SegmentFlag
source§fn clone(&self) -> Vp8SegmentFlag
fn clone(&self) -> Vp8SegmentFlag
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 Vp8SegmentFlag
impl Debug for Vp8SegmentFlag
source§impl Display for Vp8SegmentFlag
impl Display for Vp8SegmentFlag
source§impl From<Vp8SegmentFlag> for u32
impl From<Vp8SegmentFlag> for u32
source§fn from(val: Vp8SegmentFlag) -> u32
fn from(val: Vp8SegmentFlag) -> u32
Converts to this type from the input type.
source§impl From<u32> for Vp8SegmentFlag
impl From<u32> for Vp8SegmentFlag
source§impl Hash for Vp8SegmentFlag
impl Hash for Vp8SegmentFlag
source§impl LowerHex for Vp8SegmentFlag
impl LowerHex for Vp8SegmentFlag
source§impl Not for Vp8SegmentFlag
impl Not for Vp8SegmentFlag
source§impl Octal for Vp8SegmentFlag
impl Octal for Vp8SegmentFlag
source§impl Ord for Vp8SegmentFlag
impl Ord for Vp8SegmentFlag
source§fn cmp(&self, other: &Vp8SegmentFlag) -> Ordering
fn cmp(&self, other: &Vp8SegmentFlag) -> 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<Vp8SegmentFlag> for Vp8SegmentFlag
impl PartialEq<Vp8SegmentFlag> for Vp8SegmentFlag
source§fn eq(&self, other: &Vp8SegmentFlag) -> bool
fn eq(&self, other: &Vp8SegmentFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u32> for Vp8SegmentFlag
impl PartialEq<u32> for Vp8SegmentFlag
source§impl PartialOrd<Vp8SegmentFlag> for Vp8SegmentFlag
impl PartialOrd<Vp8SegmentFlag> for Vp8SegmentFlag
source§fn partial_cmp(&self, other: &Vp8SegmentFlag) -> Option<Ordering>
fn partial_cmp(&self, other: &Vp8SegmentFlag) -> 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 moresource§impl UpperHex for Vp8SegmentFlag
impl UpperHex for Vp8SegmentFlag
impl Copy for Vp8SegmentFlag
impl Eq for Vp8SegmentFlag
impl StructuralEq for Vp8SegmentFlag
impl StructuralPartialEq for Vp8SegmentFlag
Auto Trait Implementations§
impl RefUnwindSafe for Vp8SegmentFlag
impl Send for Vp8SegmentFlag
impl Sync for Vp8SegmentFlag
impl Unpin for Vp8SegmentFlag
impl UnwindSafe for Vp8SegmentFlag
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