#[repr(C)]pub struct tm_input_source_i {
pub controller_name: *const i8,
pub controller_type: u32,
pub _padding_464: [i8; 4],
pub controllers: Option<unsafe extern "C" fn(*mut *mut u64) -> u32>,
pub items: Option<unsafe extern "C" fn(*mut *mut tm_input_item_t) -> u32>,
pub events: Option<unsafe extern "C" fn(u64, *mut tm_input_event_t, u64) -> u64>,
pub state: Option<unsafe extern "C" fn(u64, u64) -> tm_input_data_t>,
}
Fields§
§controller_name: *const i8
§controller_type: u32
§_padding_464: [i8; 4]
§controllers: Option<unsafe extern "C" fn(*mut *mut u64) -> u32>
§items: Option<unsafe extern "C" fn(*mut *mut tm_input_item_t) -> u32>
§events: Option<unsafe extern "C" fn(u64, *mut tm_input_event_t, u64) -> u64>
§state: Option<unsafe extern "C" fn(u64, u64) -> tm_input_data_t>
Trait Implementations§
Source§impl Clone for tm_input_source_i
impl Clone for tm_input_source_i
Source§fn clone(&self) -> tm_input_source_i
fn clone(&self) -> tm_input_source_i
Returns a copy 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_source_i
Auto Trait Implementations§
impl Freeze for tm_input_source_i
impl RefUnwindSafe for tm_input_source_i
impl !Send for tm_input_source_i
impl !Sync for tm_input_source_i
impl Unpin for tm_input_source_i
impl UnwindSafe for tm_input_source_i
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