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;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t