Struct rute::auto::key_event_ffi::RUKeyEventFuncs
source · #[repr(C)]pub struct RUKeyEventFuncs {
pub key: extern "C" fn(self_c: *const RUBase) -> i32,
pub matches: extern "C" fn(self_c: *const RUBase, key: u32) -> bool,
pub modifiers: extern "C" fn(self_c: *const RUBase) -> u32,
pub text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub is_auto_repeat: extern "C" fn(self_c: *const RUBase) -> bool,
pub count: extern "C" fn(self_c: *const RUBase) -> i32,
pub native_scan_code: extern "C" fn(self_c: *const RUBase) -> u32,
pub native_virtual_key: extern "C" fn(self_c: *const RUBase) -> u32,
pub native_modifiers: extern "C" fn(self_c: *const RUBase) -> u32,
}
Fields
key: extern "C" fn(self_c: *const RUBase) -> i32
matches: extern "C" fn(self_c: *const RUBase, key: u32) -> bool
modifiers: extern "C" fn(self_c: *const RUBase) -> u32
text: extern "C" fn(self_c: *const RUBase) -> *const c_char
is_auto_repeat: extern "C" fn(self_c: *const RUBase) -> bool
count: extern "C" fn(self_c: *const RUBase) -> i32
native_scan_code: extern "C" fn(self_c: *const RUBase) -> u32
native_virtual_key: extern "C" fn(self_c: *const RUBase) -> u32
native_modifiers: extern "C" fn(self_c: *const RUBase) -> u32
Trait Implementations
sourceimpl Clone for RUKeyEventFuncs
impl Clone for RUKeyEventFuncs
sourcefn clone(&self) -> RUKeyEventFuncs
fn clone(&self) -> RUKeyEventFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUKeyEventFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUKeyEventFuncs
impl Send for RUKeyEventFuncs
impl Sync for RUKeyEventFuncs
impl Unpin for RUKeyEventFuncs
impl UnwindSafe for RUKeyEventFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more