#[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: i32) -> bool, pub modifiers: extern "C" fn(self_c: *const RUBase) -> i32, 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) -> i32matches: extern "C" fn(self_c: *const RUBase, key: i32) -> boolmodifiers: extern "C" fn(self_c: *const RUBase) -> i32text: extern "C" fn(self_c: *const RUBase) -> *const c_charis_auto_repeat: extern "C" fn(self_c: *const RUBase) -> boolcount: extern "C" fn(self_c: *const RUBase) -> i32native_scan_code: extern "C" fn(self_c: *const RUBase) -> u32native_virtual_key: extern "C" fn(self_c: *const RUBase) -> u32native_modifiers: extern "C" fn(self_c: *const RUBase) -> u32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.