#[repr(transparent)]pub struct CGEventField(pub u32);Available on crate feature
CGEventTypes only.Expand description
Tuple Fields§
§0: u32Implementations§
Source§impl CGEventField
impl CGEventField
pub const MouseEventNumber: Self
pub const MouseEventClickState: Self
pub const MouseEventPressure: Self
pub const MouseEventButtonNumber: Self
pub const MouseEventDeltaX: Self
pub const MouseEventDeltaY: Self
pub const MouseEventInstantMouser: Self
pub const MouseEventSubtype: Self
pub const KeyboardEventAutorepeat: Self
pub const KeyboardEventKeycode: Self
pub const KeyboardEventKeyboardType: Self
pub const ScrollWheelEventDeltaAxis1: Self
pub const ScrollWheelEventDeltaAxis2: Self
pub const ScrollWheelEventDeltaAxis3: Self
pub const ScrollWheelEventFixedPtDeltaAxis1: Self
pub const ScrollWheelEventFixedPtDeltaAxis2: Self
pub const ScrollWheelEventFixedPtDeltaAxis3: Self
pub const ScrollWheelEventPointDeltaAxis1: Self
pub const ScrollWheelEventPointDeltaAxis2: Self
pub const ScrollWheelEventPointDeltaAxis3: Self
pub const ScrollWheelEventScrollPhase: Self
pub const ScrollWheelEventScrollCount: Self
pub const ScrollWheelEventMomentumPhase: Self
pub const ScrollWheelEventInstantMouser: Self
pub const TabletEventPointX: Self
pub const TabletEventPointY: Self
pub const TabletEventPointZ: Self
pub const TabletEventPointButtons: Self
pub const TabletEventPointPressure: Self
pub const TabletEventTiltX: Self
pub const TabletEventTiltY: Self
pub const TabletEventRotation: Self
pub const TabletEventTangentialPressure: Self
pub const TabletEventDeviceID: Self
pub const TabletEventVendor1: Self
pub const TabletEventVendor2: Self
pub const TabletEventVendor3: Self
pub const TabletProximityEventVendorID: Self
pub const TabletProximityEventTabletID: Self
pub const TabletProximityEventPointerID: Self
pub const TabletProximityEventDeviceID: Self
pub const TabletProximityEventSystemTabletID: Self
pub const TabletProximityEventVendorPointerType: Self
pub const TabletProximityEventVendorPointerSerialNumber: Self
pub const TabletProximityEventVendorUniqueID: Self
pub const TabletProximityEventCapabilityMask: Self
pub const TabletProximityEventPointerType: Self
pub const TabletProximityEventEnterProximity: Self
pub const EventTargetProcessSerialNumber: Self
pub const EventTargetUnixProcessID: Self
pub const EventSourceUnixProcessID: Self
pub const EventSourceUserData: Self
pub const EventSourceUserID: Self
pub const EventSourceGroupID: Self
pub const EventSourceStateID: Self
pub const ScrollWheelEventIsContinuous: Self
pub const MouseEventWindowUnderMousePointer: Self
pub const MouseEventWindowUnderMousePointerThatCanHandleThisEvent: Self
pub const EventUnacceleratedPointerMovementX: Self
pub const EventUnacceleratedPointerMovementY: Self
pub const ScrollWheelEventMomentumOptionPhase: Self
pub const ScrollWheelEventAcceleratedDeltaAxis1: Self
pub const ScrollWheelEventAcceleratedDeltaAxis2: Self
pub const ScrollWheelEventRawDeltaAxis1: Self
pub const ScrollWheelEventRawDeltaAxis2: Self
Trait Implementations§
Source§impl Clone for CGEventField
impl Clone for CGEventField
Source§fn clone(&self) -> CGEventField
fn clone(&self) -> CGEventField
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 CGEventField
impl Debug for CGEventField
Source§impl Encode for CGEventField
Available on crate feature objc2 only.
impl Encode for CGEventField
Available on crate feature
objc2 only.Source§impl Hash for CGEventField
impl Hash for CGEventField
Source§impl Ord for CGEventField
impl Ord for CGEventField
Source§fn cmp(&self, other: &CGEventField) -> Ordering
fn cmp(&self, other: &CGEventField) -> 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 CGEventField
impl PartialEq for CGEventField
Source§impl PartialOrd for CGEventField
impl PartialOrd for CGEventField
Source§impl RefEncode for CGEventField
Available on crate feature objc2 only.
impl RefEncode for CGEventField
Available on crate feature
objc2 only.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 CGEventField
impl Eq for CGEventField
impl StructuralPartialEq for CGEventField
Auto Trait Implementations§
impl Freeze for CGEventField
impl RefUnwindSafe for CGEventField
impl Send for CGEventField
impl Sync for CGEventField
impl Unpin for CGEventField
impl UnwindSafe for CGEventField
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.