#[repr(C)]pub struct tm_input_api {
pub add_source: Option<unsafe extern "C" fn(*mut tm_input_source_i)>,
pub remove_source: Option<unsafe extern "C" fn(*mut tm_input_source_i)>,
pub sources: Option<unsafe extern "C" fn(*mut *mut *mut tm_input_source_i) -> u32>,
pub events: Option<unsafe extern "C" fn(u64, *mut tm_input_event_t, u64) -> u64>,
pub keyboard_item_names: Option<unsafe extern "C" fn() -> *mut *const i8>,
}Fields§
§add_source: Option<unsafe extern "C" fn(*mut tm_input_source_i)>§remove_source: Option<unsafe extern "C" fn(*mut tm_input_source_i)>§sources: Option<unsafe extern "C" fn(*mut *mut *mut tm_input_source_i) -> u32>§events: Option<unsafe extern "C" fn(u64, *mut tm_input_event_t, u64) -> u64>§keyboard_item_names: Option<unsafe extern "C" fn() -> *mut *const i8>Trait Implementations§
Source§impl Clone for tm_input_api
impl Clone for tm_input_api
Source§fn clone(&self) -> tm_input_api
fn clone(&self) -> tm_input_api
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_api
Auto Trait Implementations§
impl Freeze for tm_input_api
impl RefUnwindSafe for tm_input_api
impl Send for tm_input_api
impl Sync for tm_input_api
impl Unpin for tm_input_api
impl UnwindSafe for tm_input_api
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