Struct linux_video_core::EventCtrlChangeFlag
source · #[repr(transparent)]pub struct EventCtrlChangeFlag { /* private fields */ }
Implementations§
source§impl EventCtrlChangeFlag
impl EventCtrlChangeFlag
pub const Value: EventCtrlChangeFlag = _
pub const Flags: EventCtrlChangeFlag = _
pub const Range: EventCtrlChangeFlag = _
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 Binary for EventCtrlChangeFlag
impl Binary for EventCtrlChangeFlag
source§impl BitAndAssign<EventCtrlChangeFlag> for EventCtrlChangeFlag
impl BitAndAssign<EventCtrlChangeFlag> for EventCtrlChangeFlag
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign<EventCtrlChangeFlag> for EventCtrlChangeFlag
impl BitOrAssign<EventCtrlChangeFlag> for EventCtrlChangeFlag
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign<EventCtrlChangeFlag> for EventCtrlChangeFlag
impl BitXorAssign<EventCtrlChangeFlag> for EventCtrlChangeFlag
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for EventCtrlChangeFlag
impl Clone for EventCtrlChangeFlag
source§fn clone(&self) -> EventCtrlChangeFlag
fn clone(&self) -> EventCtrlChangeFlag
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventCtrlChangeFlag
impl Debug for EventCtrlChangeFlag
source§impl Display for EventCtrlChangeFlag
impl Display for EventCtrlChangeFlag
source§impl From<EventCtrlChangeFlag> for u32
impl From<EventCtrlChangeFlag> for u32
source§fn from(val: EventCtrlChangeFlag) -> u32
fn from(val: EventCtrlChangeFlag) -> u32
Converts to this type from the input type.
source§impl From<u32> for EventCtrlChangeFlag
impl From<u32> for EventCtrlChangeFlag
source§impl Hash for EventCtrlChangeFlag
impl Hash for EventCtrlChangeFlag
source§impl LowerHex for EventCtrlChangeFlag
impl LowerHex for EventCtrlChangeFlag
source§impl Not for EventCtrlChangeFlag
impl Not for EventCtrlChangeFlag
source§impl Octal for EventCtrlChangeFlag
impl Octal for EventCtrlChangeFlag
source§impl Ord for EventCtrlChangeFlag
impl Ord for EventCtrlChangeFlag
source§fn cmp(&self, other: &EventCtrlChangeFlag) -> Ordering
fn cmp(&self, other: &EventCtrlChangeFlag) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EventCtrlChangeFlag> for EventCtrlChangeFlag
impl PartialEq<EventCtrlChangeFlag> for EventCtrlChangeFlag
source§fn eq(&self, other: &EventCtrlChangeFlag) -> bool
fn eq(&self, other: &EventCtrlChangeFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u32> for EventCtrlChangeFlag
impl PartialEq<u32> for EventCtrlChangeFlag
source§impl PartialOrd<EventCtrlChangeFlag> for EventCtrlChangeFlag
impl PartialOrd<EventCtrlChangeFlag> for EventCtrlChangeFlag
source§fn partial_cmp(&self, other: &EventCtrlChangeFlag) -> Option<Ordering>
fn partial_cmp(&self, other: &EventCtrlChangeFlag) -> Option<Ordering>
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 moresource§impl UpperHex for EventCtrlChangeFlag
impl UpperHex for EventCtrlChangeFlag
impl Copy for EventCtrlChangeFlag
impl Eq for EventCtrlChangeFlag
impl StructuralEq for EventCtrlChangeFlag
impl StructuralPartialEq for EventCtrlChangeFlag
Auto Trait Implementations§
impl RefUnwindSafe for EventCtrlChangeFlag
impl Send for EventCtrlChangeFlag
impl Sync for EventCtrlChangeFlag
impl Unpin for EventCtrlChangeFlag
impl UnwindSafe for EventCtrlChangeFlag
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