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