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