Enum wayland_server::protocol::wl_keyboard::KeymapFormat [−][src]
#[repr(u32)]pub enum KeymapFormat { NoKeymap, XkbV1, }
keyboard mapping format
This specifies the format of the keymap provided to the client with the wl_keyboard.keymap event.
Variants
NoKeymap
no keymap; client must understand how to interpret the raw keycode
XkbV1
libxkbcommon compatible; to determine the xkb keycode, clients must add 8 to the key event keycode
Methods
impl KeymapFormat
[src]
impl KeymapFormat
Trait Implementations
impl Copy for KeymapFormat
[src]
impl Copy for KeymapFormat
impl Clone for KeymapFormat
[src]
impl Clone for KeymapFormat
fn clone(&self) -> KeymapFormat
[src]
fn clone(&self) -> KeymapFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for KeymapFormat
[src]
impl Debug for KeymapFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for KeymapFormat
[src]
impl PartialEq for KeymapFormat
Auto Trait Implementations
impl Send for KeymapFormat
impl Send for KeymapFormat
impl Sync for KeymapFormat
impl Sync for KeymapFormat