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

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

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).

Tuple Fields

0: u16

Implementations

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

Move cursor up 1 row.

Move cursor down 1 row.

Move cursor right 1 column.

Move cursor left 1 column.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.