#[repr(transparent)]pub struct NSEventType(pub NSUInteger);
Available on crate feature
NSEvent
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl NSEventType
impl NSEventType
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 QuickLook: Self
pub const Pressure: Self
pub const DirectTouch: Self
pub const ChangeMode: Self
Trait Implementations§
Source§impl Clone for NSEventType
impl Clone for NSEventType
Source§fn clone(&self) -> NSEventType
fn clone(&self) -> NSEventType
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 NSEventType
impl Debug for NSEventType
Source§impl Encode for NSEventType
impl Encode for NSEventType
Source§impl Hash for NSEventType
impl Hash for NSEventType
Source§impl Ord for NSEventType
impl Ord for NSEventType
Source§fn cmp(&self, other: &NSEventType) -> Ordering
fn cmp(&self, other: &NSEventType) -> 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 NSEventType
impl PartialEq for NSEventType
Source§impl PartialOrd for NSEventType
impl PartialOrd for NSEventType
Source§impl RefEncode for NSEventType
impl RefEncode for NSEventType
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 NSEventType
impl Eq for NSEventType
impl StructuralPartialEq for NSEventType
Auto Trait Implementations§
impl Freeze for NSEventType
impl RefUnwindSafe for NSEventType
impl Send for NSEventType
impl Sync for NSEventType
impl Unpin for NSEventType
impl UnwindSafe for NSEventType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.