Struct RawKey
#[repr(C)]pub struct RawKey {
pub device_type: DeviceType,
pub code: i32,
pub modifier: i32,
}Expand description
Raw key information.
Fields§
§device_type: DeviceTypeDevice.
code: i32Key code.
modifier: i32Key modifiers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawKey
impl RefUnwindSafe for RawKey
impl Send for RawKey
impl Sync for RawKey
impl Unpin for RawKey
impl UnsafeUnpin for RawKey
impl UnwindSafe for RawKey
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