#[repr(C)]pub struct s_ns_event {
pub timestamp: c_uint,
pub type_: c_ushort,
pub ascii: c_ushort,
pub key: c_uint,
pub cursor_x: c_uint,
pub cursor_y: c_uint,
pub unknown: c_uint,
pub modifiers: c_ushort,
pub click: c_uchar,
}Fields§
§timestamp: c_uint§type_: c_ushort§ascii: c_ushort§key: c_uint§cursor_x: c_uint§cursor_y: c_uint§unknown: c_uint§modifiers: c_ushort§click: c_ucharTrait Implementations§
Source§impl Clone for s_ns_event
impl Clone for s_ns_event
Source§fn clone(&self) -> s_ns_event
fn clone(&self) -> s_ns_event
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 s_ns_event
impl Debug for s_ns_event
impl Copy for s_ns_event
Auto Trait Implementations§
impl Freeze for s_ns_event
impl RefUnwindSafe for s_ns_event
impl Send for s_ns_event
impl Sync for s_ns_event
impl Unpin for s_ns_event
impl UnwindSafe for s_ns_event
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