Struct xcb::xkb::ModDef[][src]

pub struct ModDef {
    pub base: xcb_xkb_mod_def_t,
}

Fields

base: xcb_xkb_mod_def_t

Implementations

impl ModDef[src]

pub fn new(mask: u8, real_mods: u8, vmods: u16) -> ModDef[src]

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

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

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

Trait Implementations

impl Clone for ModDef[src]

impl Copy for ModDef[src]

Auto Trait Implementations

impl RefUnwindSafe for ModDef

impl Send for ModDef

impl Sync for ModDef

impl Unpin for ModDef

impl UnwindSafe for ModDef

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.