pub struct KeymapNames {
pub rules: String,
pub model: String,
pub layout: String,
pub variant: String,
pub options: String,
}Available on crate feature
xkb only.Expand description
The names a keymap is compiled from: rules, model, layout, variant, options.
An empty field means “whatever the system defaults to”, which is what xkb does with a null one.
Fields§
§rules: StringThe rules file that maps the rest onto keymap components.
model: StringThe keyboard model.
layout: StringThe layout, such as us or de.
variant: StringThe layout variant, such as dvorak.
options: StringComma-separated options, such as ctrl:nocaps.
Trait Implementations§
Source§impl Clone for KeymapNames
impl Clone for KeymapNames
Source§impl Debug for KeymapNames
impl Debug for KeymapNames
Source§impl Default for KeymapNames
impl Default for KeymapNames
impl Eq for KeymapNames
Source§impl PartialEq for KeymapNames
impl PartialEq for KeymapNames
impl StructuralPartialEq for KeymapNames
Auto Trait Implementations§
impl Freeze for KeymapNames
impl RefUnwindSafe for KeymapNames
impl Send for KeymapNames
impl Sync for KeymapNames
impl Unpin for KeymapNames
impl UnsafeUnpin for KeymapNames
impl UnwindSafe for KeymapNames
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more