#[repr(C)]pub union NXEventData {
pub mouse: NXEventData_mouse,
pub mouseMove: NXEventData_mouseMove,
pub key: NXEventData_key,
pub tracking: NXEventData_tracking,
pub scrollWheel: NXEventData_scrollWheel,
pub zoom: NXEventData_scrollWheel,
pub compound: NXEventData_compound,
pub tablet: NXEventData_tablet,
pub proximity: NXEventData_proximity,
}Available on crate feature
hidsystem only.Expand description
Fields§
§mouse: NXEventData_mouse§mouseMove: NXEventData_mouseMove§key: NXEventData_key§tracking: NXEventData_tracking§scrollWheel: NXEventData_scrollWheel§zoom: NXEventData_scrollWheel§compound: NXEventData_compound§tablet: NXEventData_tablet§proximity: NXEventData_proximityTrait Implementations§
Source§impl Clone for NXEventData
impl Clone for NXEventData
Source§fn clone(&self) -> NXEventData
fn clone(&self) -> NXEventData
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 Encode for NXEventData
Available on crate feature objc2 only.
impl Encode for NXEventData
Available on crate feature
objc2 only.Source§impl RefEncode for NXEventData
Available on crate feature objc2 only.
impl RefEncode for NXEventData
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 NXEventData
Auto Trait Implementations§
impl Freeze for NXEventData
impl RefUnwindSafe for NXEventData
impl Send for NXEventData
impl Sync for NXEventData
impl Unpin for NXEventData
impl UnwindSafe for NXEventData
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.