Enum core_graphics::event::CGEventType
source · #[repr(u32)]pub enum CGEventType {
Show 19 variants
Null,
LeftMouseDown,
LeftMouseUp,
RightMouseDown,
RightMouseUp,
MouseMoved,
LeftMouseDragged,
RightMouseDragged,
KeyDown,
KeyUp,
FlagsChanged,
ScrollWheel,
TabletPointer,
TabletProximity,
OtherMouseDown,
OtherMouseUp,
OtherMouseDragged,
TapDisabledByTimeout,
TapDisabledByUserInput,
}
Expand description
Constants that specify the different types of input events.
Variants§
Null
LeftMouseDown
LeftMouseUp
RightMouseDown
RightMouseUp
MouseMoved
LeftMouseDragged
RightMouseDragged
KeyDown
KeyUp
FlagsChanged
ScrollWheel
TabletPointer
TabletProximity
OtherMouseDown
OtherMouseUp
OtherMouseDragged
TapDisabledByTimeout
TapDisabledByUserInput
Trait Implementations§
source§impl Clone for CGEventType
impl Clone for CGEventType
source§fn clone(&self) -> CGEventType
fn clone(&self) -> CGEventType
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 CGEventType
impl Debug for CGEventType
impl Copy for CGEventType
Auto Trait Implementations§
impl RefUnwindSafe for CGEventType
impl Send for CGEventType
impl Sync for CGEventType
impl Unpin for CGEventType
impl UnwindSafe for CGEventType
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