Struct x11rb_protocol::protocol::xkb::BoolCtrlsLow
source · pub struct BoolCtrlsLow(/* private fields */);
Implementations§
source§impl BoolCtrlsLow
impl BoolCtrlsLow
pub const REPEAT_KEYS: Self = _
pub const SLOW_KEYS: Self = _
pub const BOUNCE_KEYS: Self = _
pub const STICKY_KEYS: Self = _
pub const MOUSE_KEYS: Self = _
pub const MOUSE_KEYS_ACCEL: Self = _
pub const ACCESS_X_KEYS: Self = _
pub const ACCESS_X_TIMEOUT: Self = _
source§impl BoolCtrlsLow
impl BoolCtrlsLow
sourcepub fn contains(self, flag: impl Into<u8>) -> bool
pub fn contains(self, flag: impl Into<u8>) -> bool
Check if this object has all bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
sourcepub fn intersects(self, flag: impl Into<u8>) -> bool
pub fn intersects(self, flag: impl Into<u8>) -> bool
Check if this object has some bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
Trait Implementations§
source§impl BitAnd<BoolCtrlsLow> for u8
impl BitAnd<BoolCtrlsLow> for u8
§type Output = BoolCtrlsLow
type Output = BoolCtrlsLow
The resulting type after applying the
&
operator.source§impl BitAnd<u8> for BoolCtrlsLow
impl BitAnd<u8> for BoolCtrlsLow
source§impl BitAnd for BoolCtrlsLow
impl BitAnd for BoolCtrlsLow
source§impl BitAndAssign<BoolCtrlsLow> for u8
impl BitAndAssign<BoolCtrlsLow> for u8
source§fn bitand_assign(&mut self, other: BoolCtrlsLow)
fn bitand_assign(&mut self, other: BoolCtrlsLow)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u8> for BoolCtrlsLow
impl BitAndAssign<u8> for BoolCtrlsLow
source§fn bitand_assign(&mut self, other: u8)
fn bitand_assign(&mut self, other: u8)
Performs the
&=
operation. Read moresource§impl BitAndAssign for BoolCtrlsLow
impl BitAndAssign for BoolCtrlsLow
source§fn bitand_assign(&mut self, other: BoolCtrlsLow)
fn bitand_assign(&mut self, other: BoolCtrlsLow)
Performs the
&=
operation. Read moresource§impl BitOr<BoolCtrlsLow> for u8
impl BitOr<BoolCtrlsLow> for u8
§type Output = BoolCtrlsLow
type Output = BoolCtrlsLow
The resulting type after applying the
|
operator.source§impl BitOr<u8> for BoolCtrlsLow
impl BitOr<u8> for BoolCtrlsLow
source§impl BitOr for BoolCtrlsLow
impl BitOr for BoolCtrlsLow
source§impl BitOrAssign<BoolCtrlsLow> for u8
impl BitOrAssign<BoolCtrlsLow> for u8
source§fn bitor_assign(&mut self, other: BoolCtrlsLow)
fn bitor_assign(&mut self, other: BoolCtrlsLow)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u8> for BoolCtrlsLow
impl BitOrAssign<u8> for BoolCtrlsLow
source§fn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the
|=
operation. Read moresource§impl BitOrAssign for BoolCtrlsLow
impl BitOrAssign for BoolCtrlsLow
source§fn bitor_assign(&mut self, other: BoolCtrlsLow)
fn bitor_assign(&mut self, other: BoolCtrlsLow)
Performs the
|=
operation. Read moresource§impl Clone for BoolCtrlsLow
impl Clone for BoolCtrlsLow
source§fn clone(&self) -> BoolCtrlsLow
fn clone(&self) -> BoolCtrlsLow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BoolCtrlsLow
impl Debug for BoolCtrlsLow
source§impl Default for BoolCtrlsLow
impl Default for BoolCtrlsLow
source§fn default() -> BoolCtrlsLow
fn default() -> BoolCtrlsLow
Returns the “default value” for a type. Read more
source§impl From<BoolCtrlsLow> for Option<u16>
impl From<BoolCtrlsLow> for Option<u16>
source§fn from(input: BoolCtrlsLow) -> Self
fn from(input: BoolCtrlsLow) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsLow> for Option<u32>
impl From<BoolCtrlsLow> for Option<u32>
source§fn from(input: BoolCtrlsLow) -> Self
fn from(input: BoolCtrlsLow) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsLow> for Option<u8>
impl From<BoolCtrlsLow> for Option<u8>
source§fn from(input: BoolCtrlsLow) -> Self
fn from(input: BoolCtrlsLow) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsLow> for u16
impl From<BoolCtrlsLow> for u16
source§fn from(input: BoolCtrlsLow) -> Self
fn from(input: BoolCtrlsLow) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsLow> for u32
impl From<BoolCtrlsLow> for u32
source§fn from(input: BoolCtrlsLow) -> Self
fn from(input: BoolCtrlsLow) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsLow> for u8
impl From<BoolCtrlsLow> for u8
source§fn from(input: BoolCtrlsLow) -> Self
fn from(input: BoolCtrlsLow) -> Self
Converts to this type from the input type.
source§impl From<u8> for BoolCtrlsLow
impl From<u8> for BoolCtrlsLow
source§impl Hash for BoolCtrlsLow
impl Hash for BoolCtrlsLow
source§impl Ord for BoolCtrlsLow
impl Ord for BoolCtrlsLow
source§fn cmp(&self, other: &BoolCtrlsLow) -> Ordering
fn cmp(&self, other: &BoolCtrlsLow) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BoolCtrlsLow
impl PartialEq for BoolCtrlsLow
source§fn eq(&self, other: &BoolCtrlsLow) -> bool
fn eq(&self, other: &BoolCtrlsLow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BoolCtrlsLow
impl PartialOrd for BoolCtrlsLow
source§fn partial_cmp(&self, other: &BoolCtrlsLow) -> Option<Ordering>
fn partial_cmp(&self, other: &BoolCtrlsLow) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BoolCtrlsLow
impl Eq for BoolCtrlsLow
impl StructuralEq for BoolCtrlsLow
impl StructuralPartialEq for BoolCtrlsLow
Auto Trait Implementations§
impl RefUnwindSafe for BoolCtrlsLow
impl Send for BoolCtrlsLow
impl Sync for BoolCtrlsLow
impl Unpin for BoolCtrlsLow
impl UnwindSafe for BoolCtrlsLow
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more