Trait druid_shell::IntoKey[][src]

pub trait IntoKey {
    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.

Required methods

Implementations on Foreign Types

Implementors