[−][src]Struct breadx::auto::xkb::Control
Fields
inner: u32
Implementations
impl Control
[src]
pub fn groups_wrap(&self) -> bool
[src]
pub fn set_groups_wrap(&mut self, val: bool) -> &mut Self
[src]
pub fn internal_mods(&self) -> bool
[src]
pub fn set_internal_mods(&mut self, val: bool) -> &mut Self
[src]
pub fn ignore_lock_mods(&self) -> bool
[src]
pub fn set_ignore_lock_mods(&mut self, val: bool) -> &mut Self
[src]
pub fn per_key_repeat(&self) -> bool
[src]
pub fn set_per_key_repeat(&mut self, val: bool) -> &mut Self
[src]
pub fn controls_enabled(&self) -> bool
[src]
pub fn set_controls_enabled(&mut self, val: bool) -> &mut Self
[src]
pub fn new(
groups_wrap: bool,
internal_mods: bool,
ignore_lock_mods: bool,
per_key_repeat: bool,
controls_enabled: bool
) -> Self
[src]
groups_wrap: bool,
internal_mods: bool,
ignore_lock_mods: bool,
per_key_repeat: bool,
controls_enabled: bool
) -> Self
pub fn count_ones(&self) -> usize
[src]
Trait Implementations
impl AsByteSequence for Control
[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<Control> for Control
[src]
type Output = Control
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: Control) -> Control
[src]
impl Clone for Control
[src]
impl Copy for Control
[src]
impl Debug for Control
[src]
impl Default for Control
[src]
impl Eq for Control
[src]
impl Not for Control
[src]
type Output = Control
The resulting type after applying the !
operator.
pub fn not(self) -> Control
[src]
impl Ord for Control
[src]
pub fn cmp(&self, other: &Control) -> 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<Control> for Control
[src]
impl PartialOrd<Control> for Control
[src]
pub fn partial_cmp(&self, other: &Control) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Control) -> bool
[src]
pub fn le(&self, other: &Control) -> bool
[src]
pub fn gt(&self, other: &Control) -> bool
[src]
pub fn ge(&self, other: &Control) -> bool
[src]
impl StructuralEq for Control
[src]
impl StructuralPartialEq for Control
[src]
Auto Trait Implementations
impl RefUnwindSafe for Control
[src]
impl Send for Control
[src]
impl Sync for Control
[src]
impl Unpin for Control
[src]
impl UnwindSafe for Control
[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>,