Struct linux_video_core::EventSubFlag
source · #[repr(transparent)]pub struct EventSubFlag { /* private fields */ }
Implementations§
source§impl EventSubFlag
impl EventSubFlag
pub const SendInitial: EventSubFlag = _
pub const AllowFeedback: EventSubFlag = _
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 EventSubFlag
impl Binary for EventSubFlag
source§impl BitAnd<EventSubFlag> for EventSubFlag
impl BitAnd<EventSubFlag> for EventSubFlag
source§impl BitAndAssign<EventSubFlag> for EventSubFlag
impl BitAndAssign<EventSubFlag> for EventSubFlag
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr<EventSubFlag> for EventSubFlag
impl BitOr<EventSubFlag> for EventSubFlag
source§impl BitOrAssign<EventSubFlag> for EventSubFlag
impl BitOrAssign<EventSubFlag> for EventSubFlag
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor<EventSubFlag> for EventSubFlag
impl BitXor<EventSubFlag> for EventSubFlag
source§impl BitXorAssign<EventSubFlag> for EventSubFlag
impl BitXorAssign<EventSubFlag> for EventSubFlag
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for EventSubFlag
impl Clone for EventSubFlag
source§fn clone(&self) -> EventSubFlag
fn clone(&self) -> EventSubFlag
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 EventSubFlag
impl Debug for EventSubFlag
source§impl Display for EventSubFlag
impl Display for EventSubFlag
source§impl From<EventSubFlag> for u32
impl From<EventSubFlag> for u32
source§fn from(val: EventSubFlag) -> u32
fn from(val: EventSubFlag) -> u32
Converts to this type from the input type.
source§impl From<u32> for EventSubFlag
impl From<u32> for EventSubFlag
source§impl Hash for EventSubFlag
impl Hash for EventSubFlag
source§impl LowerHex for EventSubFlag
impl LowerHex for EventSubFlag
source§impl Not for EventSubFlag
impl Not for EventSubFlag
source§impl Octal for EventSubFlag
impl Octal for EventSubFlag
source§impl Ord for EventSubFlag
impl Ord for EventSubFlag
source§fn cmp(&self, other: &EventSubFlag) -> Ordering
fn cmp(&self, other: &EventSubFlag) -> 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<EventSubFlag> for EventSubFlag
impl PartialEq<EventSubFlag> for EventSubFlag
source§fn eq(&self, other: &EventSubFlag) -> bool
fn eq(&self, other: &EventSubFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u32> for EventSubFlag
impl PartialEq<u32> for EventSubFlag
source§impl PartialOrd<EventSubFlag> for EventSubFlag
impl PartialOrd<EventSubFlag> for EventSubFlag
source§fn partial_cmp(&self, other: &EventSubFlag) -> Option<Ordering>
fn partial_cmp(&self, other: &EventSubFlag) -> 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 EventSubFlag
impl UpperHex for EventSubFlag
impl Copy for EventSubFlag
impl Eq for EventSubFlag
impl StructuralEq for EventSubFlag
impl StructuralPartialEq for EventSubFlag
Auto Trait Implementations§
impl RefUnwindSafe for EventSubFlag
impl Send for EventSubFlag
impl Sync for EventSubFlag
impl Unpin for EventSubFlag
impl UnwindSafe for EventSubFlag
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