Struct xcb::xkb::KtMapEntry[][src]

pub struct KtMapEntry {
    pub base: xcb_xkb_kt_map_entry_t,
}

Fields

base: xcb_xkb_kt_map_entry_t

Implementations

impl KtMapEntry[src]

pub fn new(
    active: bool,
    mods_mask: u8,
    level: u8,
    mods_mods: u8,
    mods_vmods: u16
) -> KtMapEntry
[src]

pub fn active(&self) -> bool[src]

pub fn mods_mask(&self) -> u8[src]

pub fn level(&self) -> u8[src]

pub fn mods_mods(&self) -> u8[src]

pub fn mods_vmods(&self) -> u16[src]

Trait Implementations

impl Clone for KtMapEntry[src]

impl Copy for KtMapEntry[src]

Auto Trait Implementations

impl RefUnwindSafe for KtMapEntry

impl Send for KtMapEntry

impl Sync for KtMapEntry

impl Unpin for KtMapEntry

impl UnwindSafe for KtMapEntry

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.