#[repr(C)]pub struct NXEventData_key {
pub origCharSet: u16,
pub repeat: i16,
pub charSet: u16,
pub charCode: u16,
pub keyCode: u16,
pub origCharCode: u16,
pub reserved1: i32,
pub keyboardType: u32,
pub reserved2: i32,
pub reserved3: i32,
pub reserved4: i32,
pub reserved5: [i32; 4],
}Available on crate feature
hidsystem only.Expand description
Fields§
§origCharSet: u16§repeat: i16§charSet: u16§charCode: u16§keyCode: u16§origCharCode: u16§reserved1: i32§keyboardType: u32§reserved2: i32§reserved3: i32§reserved4: i32§reserved5: [i32; 4]Trait Implementations§
Source§impl Clone for NXEventData_key
impl Clone for NXEventData_key
Source§fn clone(&self) -> NXEventData_key
fn clone(&self) -> NXEventData_key
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_key
impl Debug for NXEventData_key
Source§impl Encode for NXEventData_key
Available on crate feature objc2 only.
impl Encode for NXEventData_key
Available on crate feature
objc2 only.Source§impl PartialEq for NXEventData_key
impl PartialEq for NXEventData_key
Source§impl RefEncode for NXEventData_key
Available on crate feature objc2 only.
impl RefEncode for NXEventData_key
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_key
impl StructuralPartialEq for NXEventData_key
Auto Trait Implementations§
impl Freeze for NXEventData_key
impl RefUnwindSafe for NXEventData_key
impl Send for NXEventData_key
impl Sync for NXEventData_key
impl Unpin for NXEventData_key
impl UnwindSafe for NXEventData_key
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.