[−][src]Struct breadx::auto::xkb::StatePart
Fields
inner: u16
Implementations
impl StatePart
[src]
pub fn modifier_state(&self) -> bool
[src]
pub fn set_modifier_state(&mut self, val: bool) -> &mut Self
[src]
pub fn modifier_base(&self) -> bool
[src]
pub fn set_modifier_base(&mut self, val: bool) -> &mut Self
[src]
pub fn modifier_latch(&self) -> bool
[src]
pub fn set_modifier_latch(&mut self, val: bool) -> &mut Self
[src]
pub fn modifier_lock(&self) -> bool
[src]
pub fn set_modifier_lock(&mut self, val: bool) -> &mut Self
[src]
pub fn group_state(&self) -> bool
[src]
pub fn set_group_state(&mut self, val: bool) -> &mut Self
[src]
pub fn group_base(&self) -> bool
[src]
pub fn set_group_base(&mut self, val: bool) -> &mut Self
[src]
pub fn group_latch(&self) -> bool
[src]
pub fn set_group_latch(&mut self, val: bool) -> &mut Self
[src]
pub fn group_lock(&self) -> bool
[src]
pub fn set_group_lock(&mut self, val: bool) -> &mut Self
[src]
pub fn compat_state(&self) -> bool
[src]
pub fn set_compat_state(&mut self, val: bool) -> &mut Self
[src]
pub fn grab_mods(&self) -> bool
[src]
pub fn set_grab_mods(&mut self, val: bool) -> &mut Self
[src]
pub fn compat_grab_mods(&self) -> bool
[src]
pub fn set_compat_grab_mods(&mut self, val: bool) -> &mut Self
[src]
pub fn lookup_mods(&self) -> bool
[src]
pub fn set_lookup_mods(&mut self, val: bool) -> &mut Self
[src]
pub fn compat_lookup_mods(&self) -> bool
[src]
pub fn set_compat_lookup_mods(&mut self, val: bool) -> &mut Self
[src]
pub fn pointer_buttons(&self) -> bool
[src]
pub fn set_pointer_buttons(&mut self, val: bool) -> &mut Self
[src]
pub fn new(
modifier_state: bool,
modifier_base: bool,
modifier_latch: bool,
modifier_lock: bool,
group_state: bool,
group_base: bool,
group_latch: bool,
group_lock: bool,
compat_state: bool,
grab_mods: bool,
compat_grab_mods: bool,
lookup_mods: bool,
compat_lookup_mods: bool,
pointer_buttons: bool
) -> Self
[src]
modifier_state: bool,
modifier_base: bool,
modifier_latch: bool,
modifier_lock: bool,
group_state: bool,
group_base: bool,
group_latch: bool,
group_lock: bool,
compat_state: bool,
grab_mods: bool,
compat_grab_mods: bool,
lookup_mods: bool,
compat_lookup_mods: bool,
pointer_buttons: bool
) -> Self
pub fn count_ones(&self) -> usize
[src]
Trait Implementations
impl AsByteSequence for StatePart
[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<StatePart> for StatePart
[src]
type Output = StatePart
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: StatePart) -> StatePart
[src]
impl Clone for StatePart
[src]
impl Copy for StatePart
[src]
impl Debug for StatePart
[src]
impl Default for StatePart
[src]
impl Eq for StatePart
[src]
impl Not for StatePart
[src]
type Output = StatePart
The resulting type after applying the !
operator.
pub fn not(self) -> StatePart
[src]
impl Ord for StatePart
[src]
pub fn cmp(&self, other: &StatePart) -> 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<StatePart> for StatePart
[src]
impl PartialOrd<StatePart> for StatePart
[src]
pub fn partial_cmp(&self, other: &StatePart) -> Option<Ordering>
[src]
pub fn lt(&self, other: &StatePart) -> bool
[src]
pub fn le(&self, other: &StatePart) -> bool
[src]
pub fn gt(&self, other: &StatePart) -> bool
[src]
pub fn ge(&self, other: &StatePart) -> bool
[src]
impl StructuralEq for StatePart
[src]
impl StructuralPartialEq for StatePart
[src]
Auto Trait Implementations
impl RefUnwindSafe for StatePart
[src]
impl Send for StatePart
[src]
impl Sync for StatePart
[src]
impl Unpin for StatePart
[src]
impl UnwindSafe for StatePart
[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>,