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