Struct linux_video_core::ChipMatch
source · #[repr(transparent)]pub struct ChipMatch { /* private fields */ }
Implementations§
source§impl ChipMatch
impl ChipMatch
pub const Bridge: ChipMatch = _
pub const Subdev: ChipMatch = _
pub const Host: ChipMatch = _
pub const I2cDriver: ChipMatch = _
pub const I2cAddr: ChipMatch = _
pub const Ac97: ChipMatch = _
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 BitAndAssign<ChipMatch> for ChipMatch
impl BitAndAssign<ChipMatch> for ChipMatch
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign<ChipMatch> for ChipMatch
impl BitOrAssign<ChipMatch> for ChipMatch
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign<ChipMatch> for ChipMatch
impl BitXorAssign<ChipMatch> for ChipMatch
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Ord for ChipMatch
impl Ord for ChipMatch
source§impl PartialEq<ChipMatch> for ChipMatch
impl PartialEq<ChipMatch> for ChipMatch
source§impl PartialOrd<ChipMatch> for ChipMatch
impl PartialOrd<ChipMatch> for ChipMatch
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 moreimpl Copy for ChipMatch
impl Eq for ChipMatch
impl StructuralEq for ChipMatch
impl StructuralPartialEq for ChipMatch
Auto Trait Implementations§
impl RefUnwindSafe for ChipMatch
impl Send for ChipMatch
impl Sync for ChipMatch
impl Unpin for ChipMatch
impl UnwindSafe for ChipMatch
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