7 lines · 260 B · Rust
RawDownload
/// A trait for platform-specific keyboard layoutspub trait PlatformKeyboardLayout {    /// Get the keyboard layout ID, which should be unique to the layout    fn id(&self) -> &str;    /// Get the keyboard layout display name    fn name(&self) -> &str;}