PlatformKeyboardLayout

Trait PlatformKeyboardLayout 

Source
pub trait PlatformKeyboardLayout {
    // Required methods
    fn id(&self) -> &str;
    fn name(&self) -> &str;
}
Expand description

A trait for platform-specific keyboard layouts

Required Methods§

Source

fn id(&self) -> &str

Get the keyboard layout ID, which should be unique to the layout

Source

fn name(&self) -> &str

Get the keyboard layout display name

Implementors§