#[repr(C)]pub struct FlywheelKeyEvent {
pub char_code: u32,
pub key_code: c_int,
pub modifiers: c_uint,
}Expand description
Key event data.
Fields§
§char_code: u32The character (for printable keys), or 0.
key_code: c_intSpecial key code (see FLYWHEEL_KEY_* constants).
modifiers: c_uintModifier flags.
Trait Implementations§
Source§impl Clone for FlywheelKeyEvent
impl Clone for FlywheelKeyEvent
Source§fn clone(&self) -> FlywheelKeyEvent
fn clone(&self) -> FlywheelKeyEvent
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 moreSource§impl Debug for FlywheelKeyEvent
impl Debug for FlywheelKeyEvent
impl Copy for FlywheelKeyEvent
Auto Trait Implementations§
impl Freeze for FlywheelKeyEvent
impl RefUnwindSafe for FlywheelKeyEvent
impl Send for FlywheelKeyEvent
impl Sync for FlywheelKeyEvent
impl Unpin for FlywheelKeyEvent
impl UnwindSafe for FlywheelKeyEvent
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