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