pub struct MetaEventMask(/* private fields */);
Implementations§
Source§impl MetaEventMask
impl MetaEventMask
pub const fn zeroed() -> MetaEventMask
pub fn new(mask: u64) -> MetaEventMask
pub fn enable_event(&mut self, event: MetaEventCode)
pub fn disable_event(&mut self, event: MetaEventCode)
pub fn get_event(&self, event: MetaEventCode) -> bool
Trait Implementations§
Source§impl Clone for MetaEventMask
impl Clone for MetaEventMask
Source§fn clone(&self) -> MetaEventMask
fn clone(&self) -> MetaEventMask
Returns a duplicate 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 MetaEventMask
impl Debug for MetaEventMask
Source§impl Default for MetaEventMask
impl Default for MetaEventMask
Source§impl From<MetaEventMask> for u64
impl From<MetaEventMask> for u64
Source§fn from(m: MetaEventMask) -> Self
fn from(m: MetaEventMask) -> Self
Converts to this type from the input type.
Source§impl Hash for MetaEventMask
impl Hash for MetaEventMask
Source§impl Ord for MetaEventMask
impl Ord for MetaEventMask
Source§fn cmp(&self, other: &MetaEventMask) -> Ordering
fn cmp(&self, other: &MetaEventMask) -> 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 for MetaEventMask
impl PartialEq for MetaEventMask
Source§impl PartialOrd for MetaEventMask
impl PartialOrd for MetaEventMask
Source§impl TryFrom<u64> for MetaEventMask
impl TryFrom<u64> for MetaEventMask
impl Copy for MetaEventMask
impl Eq for MetaEventMask
impl StructuralPartialEq for MetaEventMask
Auto Trait Implementations§
impl Freeze for MetaEventMask
impl RefUnwindSafe for MetaEventMask
impl Send for MetaEventMask
impl Sync for MetaEventMask
impl Unpin for MetaEventMask
impl UnwindSafe for MetaEventMask
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