Trait lux::interactive::AbstractKey [] [src]

pub trait AbstractKey {
    fn to_key(self) -> (Option<u8>, Option<char>, Option<VirtualKeyCode>);
}

A conversion trait for representing the different ways that a key can be represented.

Required Methods

fn to_key(self) -> (Option<u8>, Option<char>, Option<VirtualKeyCode>)

Converts an abstract key into a set of concrete key implementations.

Implementors