[][src]Struct breadx::auto::xkb::XiFeature

#[repr(transparent)]pub struct XiFeature {
    pub inner: u16,
}

Fields

inner: u16

Implementations

impl XiFeature[src]

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

pub fn set_keyboards(&mut self, val: bool) -> &mut Self[src]

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

pub fn set_button_actions(&mut self, val: bool) -> &mut Self[src]

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

pub fn set_indicator_names(&mut self, val: bool) -> &mut Self[src]

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

pub fn set_indicator_maps(&mut self, val: bool) -> &mut Self[src]

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

pub fn set_indicator_state(&mut self, val: bool) -> &mut Self[src]

pub fn new(
    keyboards: bool,
    button_actions: bool,
    indicator_names: bool,
    indicator_maps: bool,
    indicator_state: bool
) -> Self
[src]

pub fn count_ones(&self) -> usize[src]

Trait Implementations

impl AsByteSequence for XiFeature[src]

impl BitAnd<XiFeature> for XiFeature[src]

type Output = XiFeature

The resulting type after applying the & operator.

impl Clone for XiFeature[src]

impl Copy for XiFeature[src]

impl Debug for XiFeature[src]

impl Default for XiFeature[src]

impl Eq for XiFeature[src]

impl Not for XiFeature[src]

type Output = XiFeature

The resulting type after applying the ! operator.

impl Ord for XiFeature[src]

impl PartialEq<XiFeature> for XiFeature[src]

impl PartialOrd<XiFeature> for XiFeature[src]

impl StructuralEq for XiFeature[src]

impl StructuralPartialEq for XiFeature[src]

Auto Trait Implementations

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.