Enum cocoa::appkit::NSEventType
source · #[repr(u64)]pub enum NSEventType {
Show 30 variants
NSLeftMouseDown,
NSLeftMouseUp,
NSRightMouseDown,
NSRightMouseUp,
NSMouseMoved,
NSLeftMouseDragged,
NSRightMouseDragged,
NSMouseEntered,
NSMouseExited,
NSKeyDown,
NSKeyUp,
NSFlagsChanged,
NSAppKitDefined,
NSSystemDefined,
NSApplicationDefined,
NSPeriodic,
NSCursorUpdate,
NSScrollWheel,
NSTabletPoint,
NSTabletProximity,
NSOtherMouseDown,
NSOtherMouseUp,
NSOtherMouseDragged,
NSEventTypeGesture,
NSEventTypeMagnify,
NSEventTypeSwipe,
NSEventTypeRotate,
NSEventTypeBeginGesture,
NSEventTypeEndGesture,
NSEventTypePressure,
}
Variants§
NSLeftMouseDown
NSLeftMouseUp
NSRightMouseDown
NSRightMouseUp
NSMouseMoved
NSLeftMouseDragged
NSRightMouseDragged
NSMouseEntered
NSMouseExited
NSKeyDown
NSKeyUp
NSFlagsChanged
NSAppKitDefined
NSSystemDefined
NSApplicationDefined
NSPeriodic
NSCursorUpdate
NSScrollWheel
NSTabletPoint
NSTabletProximity
NSOtherMouseDown
NSOtherMouseUp
NSOtherMouseDragged
NSEventTypeGesture
NSEventTypeMagnify
NSEventTypeSwipe
NSEventTypeRotate
NSEventTypeBeginGesture
NSEventTypeEndGesture
NSEventTypePressure
Trait Implementations§
source§impl Clone for NSEventType
impl Clone for NSEventType
source§fn clone(&self) -> NSEventType
fn clone(&self) -> NSEventType
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 NSEventType
impl Debug for NSEventType
source§impl PartialEq<NSEventType> for NSEventType
impl PartialEq<NSEventType> for NSEventType
source§fn eq(&self, other: &NSEventType) -> bool
fn eq(&self, other: &NSEventType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NSEventType
impl StructuralPartialEq for NSEventType
Auto Trait Implementations§
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