#[repr(C)]pub struct NXEventData_mouse {
pub subx: u8,
pub suby: u8,
pub eventNum: i16,
pub click: i32,
pub pressure: u8,
pub buttonNumber: u8,
pub subType: u8,
pub reserved2: u8,
pub reserved3: i32,
pub tablet: NXEventData_mouse_tablet,
}Available on crate feature
hidsystem only.Expand description
Fields§
§subx: u8§suby: u8§eventNum: i16§click: i32§pressure: u8§subType: u8§reserved2: u8§reserved3: i32§tablet: NXEventData_mouse_tabletTrait Implementations§
Source§impl Clone for NXEventData_mouse
impl Clone for NXEventData_mouse
Source§fn clone(&self) -> NXEventData_mouse
fn clone(&self) -> NXEventData_mouse
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_mouse
Available on crate feature objc2 only.
impl Encode for NXEventData_mouse
Available on crate feature
objc2 only.Source§impl RefEncode for NXEventData_mouse
Available on crate feature objc2 only.
impl RefEncode for NXEventData_mouse
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_mouse
Auto Trait Implementations§
impl Freeze for NXEventData_mouse
impl RefUnwindSafe for NXEventData_mouse
impl Send for NXEventData_mouse
impl Sync for NXEventData_mouse
impl Unpin for NXEventData_mouse
impl UnwindSafe for NXEventData_mouse
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.