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