#[repr(C, packed(4))]pub struct NXEventData_proximity {Show 13 fields
pub vendorID: u16,
pub tabletID: u16,
pub pointerID: u16,
pub deviceID: u16,
pub systemTabletID: u16,
pub vendorPointerType: u16,
pub pointerSerialNumber: u32,
pub uniqueID: u64,
pub capabilityMask: u32,
pub pointerType: u8,
pub enterProximity: u8,
pub reserved1: i16,
pub reserved2: [i32; 4],
}Available on crate feature
hidsystem only.Expand description
Fields§
§vendorID: u16§tabletID: u16§pointerID: u16§deviceID: u16§systemTabletID: u16§vendorPointerType: u16§pointerSerialNumber: u32§uniqueID: u64§capabilityMask: u32§pointerType: u8§enterProximity: u8§reserved1: i16§reserved2: [i32; 4]Trait Implementations§
Source§impl Clone for NXEventData_proximity
impl Clone for NXEventData_proximity
Source§fn clone(&self) -> NXEventData_proximity
fn clone(&self) -> NXEventData_proximity
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 NXEventData_proximity
impl Debug for NXEventData_proximity
Source§impl Encode for NXEventData_proximity
Available on crate feature objc2 only.
impl Encode for NXEventData_proximity
Available on crate feature
objc2 only.Source§impl PartialEq for NXEventData_proximity
impl PartialEq for NXEventData_proximity
Source§impl RefEncode for NXEventData_proximity
Available on crate feature objc2 only.
impl RefEncode for NXEventData_proximity
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_proximity
impl StructuralPartialEq for NXEventData_proximity
Auto Trait Implementations§
impl Freeze for NXEventData_proximity
impl RefUnwindSafe for NXEventData_proximity
impl Send for NXEventData_proximity
impl Sync for NXEventData_proximity
impl Unpin for NXEventData_proximity
impl UnwindSafe for NXEventData_proximity
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.