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