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§

Object Safety§

This trait is not object safe.

Implementors§