pub trait IntoKey {
// Required method
fn into_key(self) -> KbKey;
}Expand description
A convenience trait for creating Key objects.
This trait is implemented by KbKey itself and also strings, which are
converted into the Character variant. It is defined this way and not
using the standard Into mechanism because KbKey is a type in an external
crate.