[][src]Struct uefi::proto::console::text::ScanCode

#[repr(transparent)]pub struct ScanCode(pub u16);

A keyboard scan code

Codes 0x8000 -> 0xFFFF are reserved for future OEM extensibility, therefore this C enum is not safe to model as a Rust enum (where the compiler must know about all variants at compile time).

Implementations

impl ScanCode[src]

pub const NULL: ScanCode[src]

Null scan code, indicates that the Unicode character should be used.

pub const UP: ScanCode[src]

Move cursor up 1 row.

pub const DOWN: ScanCode[src]

Move cursor down 1 row.

pub const RIGHT: ScanCode[src]

Move cursor right 1 column.

pub const LEFT: ScanCode[src]

Move cursor left 1 column.

pub const HOME: ScanCode[src]

pub const END: ScanCode[src]

pub const INSERT: ScanCode[src]

pub const DELETE: ScanCode[src]

pub const PAGE_UP: ScanCode[src]

pub const PAGE_DOWN: ScanCode[src]

pub const FUNCTION_1: ScanCode[src]

pub const FUNCTION_2: ScanCode[src]

pub const FUNCTION_3: ScanCode[src]

pub const FUNCTION_4: ScanCode[src]

pub const FUNCTION_5: ScanCode[src]

pub const FUNCTION_6: ScanCode[src]

pub const FUNCTION_7: ScanCode[src]

pub const FUNCTION_8: ScanCode[src]

pub const FUNCTION_9: ScanCode[src]

pub const FUNCTION_10: ScanCode[src]

pub const FUNCTION_11: ScanCode[src]

pub const FUNCTION_12: ScanCode[src]

pub const ESCAPE: ScanCode[src]

pub const FUNCTION_13: ScanCode[src]

pub const FUNCTION_14: ScanCode[src]

pub const FUNCTION_15: ScanCode[src]

pub const FUNCTION_16: ScanCode[src]

pub const FUNCTION_17: ScanCode[src]

pub const FUNCTION_18: ScanCode[src]

pub const FUNCTION_19: ScanCode[src]

pub const FUNCTION_20: ScanCode[src]

pub const FUNCTION_21: ScanCode[src]

pub const FUNCTION_22: ScanCode[src]

pub const FUNCTION_23: ScanCode[src]

pub const FUNCTION_24: ScanCode[src]

pub const MUTE: ScanCode[src]

pub const VOLUME_UP: ScanCode[src]

pub const VOLUME_DOWN: ScanCode[src]

pub const BRIGHTNESS_UP: ScanCode[src]

pub const BRIGHTNESS_DOWN: ScanCode[src]

pub const SUSPEND: ScanCode[src]

pub const HIBERNATE: ScanCode[src]

pub const TOGGLE_DISPLAY: ScanCode[src]

pub const RECOVERY: ScanCode[src]

pub const EJECT: ScanCode[src]

Trait Implementations

impl Clone for ScanCode[src]

impl Copy for ScanCode[src]

impl Debug for ScanCode[src]

impl Eq for ScanCode[src]

impl PartialEq<ScanCode> for ScanCode[src]

impl StructuralEq for ScanCode[src]

impl StructuralPartialEq for ScanCode[src]

Auto Trait Implementations

impl Send for ScanCode

impl Sync for ScanCode

impl Unpin for ScanCode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.