[][src]Enum wayland_raw_protocol_bindings::client::wayland::wl_keyboard::keymap_format

#[repr(u32)]
pub enum keymap_format {
    no_keymap,
    xkb_v1,
    // some variants omitted
}

keyboard mapping format

This specifies the format of the keymap provided to the client with the wl_keyboard.keymap event.

Variants

no_keymap

no keymap; client must understand how to interpret the raw keycode

xkb_v1

libxkbcommon compatible; to determine the xkb keycode, clients must add 8 to the key event keycode

Methods

impl keymap_format[src]

pub fn from_raw(n: u32) -> Option<keymap_format>[src]

pub fn to_raw(&self) -> u32[src]

Trait Implementations

impl PartialEq<keymap_format> for keymap_format[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for keymap_format[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for keymap_format[src]

impl Debug for keymap_format[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]