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