pub struct KeyCode {
pub vkey: VirtualKey,
pub scan_code: ScanCode,
}
Expand description
A virtual key and a scan code.
Fields
vkey: VirtualKey
scan_code: ScanCode
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnwindSafe for KeyCode
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