Struct objc2_app_kit::NSEventMask
source · #[repr(transparent)]pub struct NSEventMask(pub c_ulonglong);
Available on crate feature
NSEvent
only.Tuple Fields§
§0: c_ulonglong
Implementations§
source§impl NSEventMask
impl NSEventMask
pub const LeftMouseDown: Self = _
pub const LeftMouseUp: Self = _
pub const RightMouseDown: Self = _
pub const RightMouseUp: Self = _
pub const MouseMoved: Self = _
pub const LeftMouseDragged: Self = _
pub const RightMouseDragged: Self = _
pub const MouseEntered: Self = _
pub const MouseExited: Self = _
pub const KeyDown: Self = _
pub const KeyUp: Self = _
pub const FlagsChanged: Self = _
pub const AppKitDefined: Self = _
pub const SystemDefined: Self = _
pub const ApplicationDefined: Self = _
pub const Periodic: Self = _
pub const CursorUpdate: Self = _
pub const ScrollWheel: Self = _
pub const TabletPoint: Self = _
pub const TabletProximity: Self = _
pub const OtherMouseDown: Self = _
pub const OtherMouseUp: Self = _
pub const OtherMouseDragged: Self = _
pub const Gesture: Self = _
pub const Magnify: Self = _
pub const Swipe: Self = _
pub const Rotate: Self = _
pub const BeginGesture: Self = _
pub const EndGesture: Self = _
pub const SmartMagnify: Self = _
pub const Pressure: Self = _
pub const DirectTouch: Self = _
pub const ChangeMode: Self = _
pub const Any: Self = _
Trait Implementations§
source§impl Clone for NSEventMask
impl Clone for NSEventMask
source§fn clone(&self) -> NSEventMask
fn clone(&self) -> NSEventMask
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 NSEventMask
impl Debug for NSEventMask
source§impl Encode for NSEventMask
impl Encode for NSEventMask
source§impl Hash for NSEventMask
impl Hash for NSEventMask
source§impl Ord for NSEventMask
impl Ord for NSEventMask
source§fn cmp(&self, other: &NSEventMask) -> Ordering
fn cmp(&self, other: &NSEventMask) -> 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 NSEventMask
impl PartialEq for NSEventMask
source§fn eq(&self, other: &NSEventMask) -> bool
fn eq(&self, other: &NSEventMask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSEventMask
impl PartialOrd for NSEventMask
source§fn partial_cmp(&self, other: &NSEventMask) -> Option<Ordering>
fn partial_cmp(&self, other: &NSEventMask) -> 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 RefEncode for NSEventMask
impl RefEncode for NSEventMask
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSEventMask
impl Eq for NSEventMask
impl StructuralPartialEq for NSEventMask
Auto Trait Implementations§
impl Freeze for NSEventMask
impl RefUnwindSafe for NSEventMask
impl Send for NSEventMask
impl Sync for NSEventMask
impl Unpin for NSEventMask
impl UnwindSafe for NSEventMask
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.