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