[][src]Struct breadx::auto::xinput::HierarchyMask

#[repr(transparent)]pub struct HierarchyMask {
    pub inner: u32,
}

Fields

inner: u32

Implementations

impl HierarchyMask[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new(
    master_added: bool,
    master_removed: bool,
    slave_added: bool,
    slave_removed: bool,
    slave_attached: bool,
    slave_detached: bool,
    device_enabled: bool,
    device_disabled: bool
) -> Self
[src]

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

Trait Implementations

impl AsByteSequence for HierarchyMask[src]

impl BitAnd<HierarchyMask> for HierarchyMask[src]

type Output = HierarchyMask

The resulting type after applying the & operator.

impl Clone for HierarchyMask[src]

impl Copy for HierarchyMask[src]

impl Debug for HierarchyMask[src]

impl Default for HierarchyMask[src]

impl Eq for HierarchyMask[src]

impl Not for HierarchyMask[src]

type Output = HierarchyMask

The resulting type after applying the ! operator.

impl Ord for HierarchyMask[src]

impl PartialEq<HierarchyMask> for HierarchyMask[src]

impl PartialOrd<HierarchyMask> for HierarchyMask[src]

impl StructuralEq for HierarchyMask[src]

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