pub struct Keyboard { /* private fields */ }
Expand description

Built-in register chip acting as a keyboard

Implementations

Returns the 16-bit character code of the currently pressed key on the physical board, or 0 if no key is pressed

Trait Implementations

Returns the “default value” for a type. Read more
Evaluates the logic expression as we do with arithmetic without advancing the time. Read more
Carries out the tick-phase of a clock cycle: LOW
Carries out the tock-phase of a clock cycle: HIGH

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.