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