pub trait PlatformKeyboardLayout { // Required methods fn id(&self) -> &str; fn name(&self) -> &str; }
A trait for platform-specific keyboard layouts
Get the keyboard layout ID, which should be unique to the layout
Get the keyboard layout display name