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