pub struct KeyParams {
pub code: u32,
pub meta: Option<u32>,
}Expand description
Parameters of key.
Fields§
§code: u32Platform key code, such as Android’s KEYCODE_ENTER (66).
meta: Option<u32>Platform meta-state bits.
Trait Implementations§
impl Eq for KeyParams
impl StructuralPartialEq for KeyParams
Auto Trait Implementations§
impl Freeze for KeyParams
impl RefUnwindSafe for KeyParams
impl Send for KeyParams
impl Sync for KeyParams
impl Unpin for KeyParams
impl UnsafeUnpin for KeyParams
impl UnwindSafe for KeyParams
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