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