#[repr(C)]pub struct InputEventT {
pub time: u64,
pub source: *mut InputSourceI,
pub controller_id: u64,
pub item_id: u64,
pub type_: u64,
pub data: InputDataT,
pub extra: *mut c_void,
}
Fields§
§time: u64
§source: *mut InputSourceI
§controller_id: u64
§item_id: u64
§type_: u64
§data: InputDataT
§extra: *mut c_void
Trait Implementations§
Source§impl Clone for InputEventT
impl Clone for InputEventT
Source§fn clone(&self) -> InputEventT
fn clone(&self) -> InputEventT
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 Default for InputEventT
impl Default for InputEventT
impl Copy for InputEventT
Auto Trait Implementations§
impl Freeze for InputEventT
impl RefUnwindSafe for InputEventT
impl !Send for InputEventT
impl !Sync for InputEventT
impl Unpin for InputEventT
impl UnwindSafe for InputEventT
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