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