[][src]Struct xkb::State

pub struct State(_);

Methods

impl State[src]

pub unsafe fn from_ptr(ptr: *mut xkb_state) -> Self[src]

pub unsafe fn as_ptr(&self) -> *mut xkb_state[src]

pub fn keymap(&self) -> Keymap[src]

pub fn key<T: Into<Keycode>>(&self, code: T) -> Key[src]

pub fn serialize(&mut self) -> Serialize[src]

pub fn update(&mut self) -> Update[src]

pub fn mods(&self) -> Mods[src]

pub fn layouts(&self) -> Layouts[src]

pub fn leds(&self) -> Leds[src]

Trait Implementations

impl Clone for State[src]

impl Debug for State[src]

impl Drop for State[src]

Auto Trait Implementations

impl RefUnwindSafe for State

impl !Send for State

impl !Sync for State

impl Unpin for State

impl UnwindSafe for State

Blanket Implementations

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

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

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

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.