[−][src]Struct breadx::auto::xinput::HierarchyMask
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]
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
pub fn count_ones(&self) -> usize
[src]
Trait Implementations
impl AsByteSequence for HierarchyMask
[src]
pub fn as_bytes(&self, bytes: &mut [u8]) -> usize
[src]
pub fn from_bytes(bytes: &[u8]) -> Option<(Self, usize)>
[src]
pub fn size(&self) -> usize
[src]
pub fn file_descriptors(&mut self) -> Option<&mut Vec<Fd>>
[src]
impl BitAnd<HierarchyMask> for HierarchyMask
[src]
type Output = HierarchyMask
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: HierarchyMask) -> HierarchyMask
[src]
impl Clone for HierarchyMask
[src]
pub fn clone(&self) -> HierarchyMask
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HierarchyMask
[src]
impl Debug for HierarchyMask
[src]
impl Default for HierarchyMask
[src]
pub fn default() -> HierarchyMask
[src]
impl Eq for HierarchyMask
[src]
impl Not for HierarchyMask
[src]
type Output = HierarchyMask
The resulting type after applying the !
operator.
pub fn not(self) -> HierarchyMask
[src]
impl Ord for HierarchyMask
[src]
pub fn cmp(&self, other: &HierarchyMask) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<HierarchyMask> for HierarchyMask
[src]
pub fn eq(&self, other: &HierarchyMask) -> bool
[src]
pub fn ne(&self, other: &HierarchyMask) -> bool
[src]
impl PartialOrd<HierarchyMask> for HierarchyMask
[src]
pub fn partial_cmp(&self, other: &HierarchyMask) -> Option<Ordering>
[src]
pub fn lt(&self, other: &HierarchyMask) -> bool
[src]
pub fn le(&self, other: &HierarchyMask) -> bool
[src]
pub fn gt(&self, other: &HierarchyMask) -> bool
[src]
pub fn ge(&self, other: &HierarchyMask) -> bool
[src]
impl StructuralEq for HierarchyMask
[src]
impl StructuralPartialEq for HierarchyMask
[src]
Auto Trait Implementations
impl RefUnwindSafe for HierarchyMask
[src]
impl Send for HierarchyMask
[src]
impl Sync for HierarchyMask
[src]
impl Unpin for HierarchyMask
[src]
impl UnwindSafe for HierarchyMask
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,