[][src]Struct breadx::auto::xproto::ButtonMask

#[repr(transparent)]pub struct ButtonMask {
    pub inner: i32,
}

Fields

inner: i32

Implementations

impl ButtonMask[src]

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new(
    One: bool,
    Two: bool,
    Three: bool,
    Four: bool,
    Five: bool,
    any: bool
) -> Self
[src]

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

Trait Implementations

impl AsByteSequence for ButtonMask[src]

impl BitAnd<ButtonMask> for ButtonMask[src]

type Output = ButtonMask

The resulting type after applying the & operator.

impl Clone for ButtonMask[src]

impl Copy for ButtonMask[src]

impl Debug for ButtonMask[src]

impl Default for ButtonMask[src]

impl Eq for ButtonMask[src]

impl Not for ButtonMask[src]

type Output = ButtonMask

The resulting type after applying the ! operator.

impl Ord for ButtonMask[src]

impl PartialEq<ButtonMask> for ButtonMask[src]

impl PartialOrd<ButtonMask> for ButtonMask[src]

impl StructuralEq for ButtonMask[src]

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