pub struct VirtIOInput<H: Hal, T: Transport> { /* private fields */ }
Expand description

Virtual human interface devices such as keyboards, mice and tablets.

An instance of the virtio device represents one such input device. Device behavior mirrors that of the evdev layer in Linux, making pass-through implementations on top of evdev easy.

Implementations§

Create a new VirtIO-Input driver.

Acknowledge interrupt and process events.

Pop the pending event.

Query a specific piece of information by select and subsel, and write result to out, return the result size.

Trait Implementations§

Executes the destructor for this type. Read more

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.