Trait linux_input_sys::InputEventDecoder
source · pub trait InputEventDecoder {
const SIZE: usize;
// Required method
fn decode(data: &[u8]) -> virtio_input_event;
}
Expand description
Allows a raw input event of the implementor’s type to be decoded into a virtio_input_event.
Required Associated Constants§
Required Methods§
fn decode(data: &[u8]) -> virtio_input_event
Object Safety§
This trait is not object safe.