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

#[repr(transparent)]pub struct ActionMessageFlag {
    pub inner: u8,
}

Fields

inner: u8

Implementations

impl ActionMessageFlag[src]

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

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

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

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

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

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

pub fn new(on_press: bool, on_release: bool, gen_key_event: bool) -> Self[src]

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

Trait Implementations

impl AsByteSequence for ActionMessageFlag[src]

impl BitAnd<ActionMessageFlag> for ActionMessageFlag[src]

type Output = ActionMessageFlag

The resulting type after applying the & operator.

impl Clone for ActionMessageFlag[src]

impl Copy for ActionMessageFlag[src]

impl Debug for ActionMessageFlag[src]

impl Default for ActionMessageFlag[src]

impl Eq for ActionMessageFlag[src]

impl Not for ActionMessageFlag[src]

type Output = ActionMessageFlag

The resulting type after applying the ! operator.

impl Ord for ActionMessageFlag[src]

impl PartialEq<ActionMessageFlag> for ActionMessageFlag[src]

impl PartialOrd<ActionMessageFlag> for ActionMessageFlag[src]

impl StructuralEq for ActionMessageFlag[src]

impl StructuralPartialEq for ActionMessageFlag[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.