Struct virtio_input_decoder::Decoder [−][src]
pub struct Decoder();
Implementations
impl Decoder
[src]
impl Decoder
[src]pub fn decode(etype: usize, code: usize, value: usize) -> Result<DecodeType, ()>
[src]
pub fn decode(etype: usize, code: usize, value: usize) -> Result<DecodeType, ()>
[src]decode the input event into type enum
pub fn convert_key(key: Key) -> Result<char, ()>
[src]
pub fn convert_key(key: Key) -> Result<char, ()>
[src]convert the key enum into char