#[repr(transparent)]pub struct Key(pub u32);
Expand description
EFI_KEY: A physical key on a keyboard.
Tuple Fields§
§0: u32
Implementations§
Source§impl Key
impl Key
pub const LCTRL: Key
pub const A0: Key
pub const LALT: Key
pub const SPACEBAR: Key
pub const A2: Key
pub const A3: Key
pub const A4: Key
pub const RCTRL: Key
pub const LEFT_ARROW: Key
pub const DOWN_ARROW: Key
pub const RIGHT_ARROW: Key
pub const ZERO: Key
pub const PERIOD: Key
pub const ENTER: Key
pub const LSHIFT: Key
pub const B0: Key
pub const B1: Key
pub const B2: Key
pub const B3: Key
pub const B4: Key
pub const B5: Key
pub const B6: Key
pub const B7: Key
pub const B8: Key
pub const B9: Key
pub const B10: Key
pub const RSHIFT: Key
pub const UP_ARROW: Key
pub const ONE: Key
pub const TWO: Key
pub const THREE: Key
pub const CAPS_LOCK: Key
pub const C1: Key
pub const C2: Key
pub const C3: Key
pub const C4: Key
pub const C5: Key
pub const C6: Key
pub const C7: Key
pub const C8: Key
pub const C9: Key
pub const C10: Key
pub const C11: Key
pub const C12: Key
pub const FOUR: Key
pub const FIVE: Key
pub const SIX: Key
pub const PLUS: Key
pub const TAB: Key
pub const D1: Key
pub const D2: Key
pub const D3: Key
pub const D4: Key
pub const D5: Key
pub const D6: Key
pub const D7: Key
pub const D8: Key
pub const D9: Key
pub const D10: Key
pub const D11: Key
pub const D12: Key
pub const D13: Key
pub const DEL: Key
pub const END: Key
pub const PG_DN: Key
pub const SEVEN: Key
pub const EIGHT: Key
pub const NINE: Key
pub const E0: Key
pub const E1: Key
pub const E2: Key
pub const E3: Key
pub const E4: Key
pub const E5: Key
pub const E6: Key
pub const E7: Key
pub const E8: Key
pub const E9: Key
pub const E10: Key
pub const E11: Key
pub const E12: Key
pub const BACK_SPACE: Key
pub const INS: Key
pub const HOME: Key
pub const PG_UP: Key
pub const NLCK: Key
pub const SLASH: Key
pub const ASTERISK: Key
pub const MINUS: Key
pub const ESC: Key
pub const F1: Key
pub const F2: Key
pub const F3: Key
pub const F4: Key
pub const F5: Key
pub const F6: Key
pub const F7: Key
pub const F8: Key
pub const F9: Key
pub const F10: Key
pub const F11: Key
pub const F12: Key
pub const PRINT: Key
pub const SLCK: Key
pub const PAUSE: Key
pub const INTL0: Key
pub const INTL1: Key
pub const INTL2: Key
pub const INTL3: Key
pub const INTL4: Key
pub const INTL5: Key
pub const INTL6: Key
pub const INTL7: Key
pub const INTL8: Key
pub const INTL9: Key
Trait Implementations§
Source§impl Ord for Key
impl Ord for Key
Source§impl PartialOrd for Key
impl PartialOrd for Key
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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