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