Struct x11rb_protocol::protocol::xkb::BoolCtrlsHigh
source · pub struct BoolCtrlsHigh(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl BoolCtrlsHigh
impl BoolCtrlsHigh
pub const ACCESS_X_FEEDBACK: Self = _
pub const AUDIBLE_BELL: Self = _
pub const OVERLAY1: Self = _
pub const OVERLAY2: Self = _
pub const IGNORE_GROUP_LOCK: Self = _
source§impl BoolCtrlsHigh
impl BoolCtrlsHigh
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<BoolCtrlsHigh> for u8
impl BitAnd<BoolCtrlsHigh> for u8
§type Output = BoolCtrlsHigh
type Output = BoolCtrlsHigh
The resulting type after applying the
&
operator.source§impl BitAnd<u8> for BoolCtrlsHigh
impl BitAnd<u8> for BoolCtrlsHigh
source§impl BitAnd for BoolCtrlsHigh
impl BitAnd for BoolCtrlsHigh
source§impl BitAndAssign<BoolCtrlsHigh> for u8
impl BitAndAssign<BoolCtrlsHigh> for u8
source§fn bitand_assign(&mut self, other: BoolCtrlsHigh)
fn bitand_assign(&mut self, other: BoolCtrlsHigh)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u8> for BoolCtrlsHigh
impl BitAndAssign<u8> for BoolCtrlsHigh
source§fn bitand_assign(&mut self, other: u8)
fn bitand_assign(&mut self, other: u8)
Performs the
&=
operation. Read moresource§impl BitAndAssign for BoolCtrlsHigh
impl BitAndAssign for BoolCtrlsHigh
source§fn bitand_assign(&mut self, other: BoolCtrlsHigh)
fn bitand_assign(&mut self, other: BoolCtrlsHigh)
Performs the
&=
operation. Read moresource§impl BitOr<BoolCtrlsHigh> for u8
impl BitOr<BoolCtrlsHigh> for u8
§type Output = BoolCtrlsHigh
type Output = BoolCtrlsHigh
The resulting type after applying the
|
operator.source§impl BitOr<u8> for BoolCtrlsHigh
impl BitOr<u8> for BoolCtrlsHigh
source§impl BitOr for BoolCtrlsHigh
impl BitOr for BoolCtrlsHigh
source§impl BitOrAssign<BoolCtrlsHigh> for u8
impl BitOrAssign<BoolCtrlsHigh> for u8
source§fn bitor_assign(&mut self, other: BoolCtrlsHigh)
fn bitor_assign(&mut self, other: BoolCtrlsHigh)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u8> for BoolCtrlsHigh
impl BitOrAssign<u8> for BoolCtrlsHigh
source§fn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the
|=
operation. Read moresource§impl BitOrAssign for BoolCtrlsHigh
impl BitOrAssign for BoolCtrlsHigh
source§fn bitor_assign(&mut self, other: BoolCtrlsHigh)
fn bitor_assign(&mut self, other: BoolCtrlsHigh)
Performs the
|=
operation. Read moresource§impl Clone for BoolCtrlsHigh
impl Clone for BoolCtrlsHigh
source§fn clone(&self) -> BoolCtrlsHigh
fn clone(&self) -> BoolCtrlsHigh
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 BoolCtrlsHigh
impl Debug for BoolCtrlsHigh
source§impl Default for BoolCtrlsHigh
impl Default for BoolCtrlsHigh
source§fn default() -> BoolCtrlsHigh
fn default() -> BoolCtrlsHigh
Returns the “default value” for a type. Read more
source§impl From<BoolCtrlsHigh> for Option<u16>
impl From<BoolCtrlsHigh> for Option<u16>
source§fn from(input: BoolCtrlsHigh) -> Self
fn from(input: BoolCtrlsHigh) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsHigh> for Option<u32>
impl From<BoolCtrlsHigh> for Option<u32>
source§fn from(input: BoolCtrlsHigh) -> Self
fn from(input: BoolCtrlsHigh) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsHigh> for Option<u8>
impl From<BoolCtrlsHigh> for Option<u8>
source§fn from(input: BoolCtrlsHigh) -> Self
fn from(input: BoolCtrlsHigh) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsHigh> for u16
impl From<BoolCtrlsHigh> for u16
source§fn from(input: BoolCtrlsHigh) -> Self
fn from(input: BoolCtrlsHigh) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsHigh> for u32
impl From<BoolCtrlsHigh> for u32
source§fn from(input: BoolCtrlsHigh) -> Self
fn from(input: BoolCtrlsHigh) -> Self
Converts to this type from the input type.
source§impl From<BoolCtrlsHigh> for u8
impl From<BoolCtrlsHigh> for u8
source§fn from(input: BoolCtrlsHigh) -> Self
fn from(input: BoolCtrlsHigh) -> Self
Converts to this type from the input type.
source§impl From<u8> for BoolCtrlsHigh
impl From<u8> for BoolCtrlsHigh
source§impl Hash for BoolCtrlsHigh
impl Hash for BoolCtrlsHigh
source§impl Ord for BoolCtrlsHigh
impl Ord for BoolCtrlsHigh
source§fn cmp(&self, other: &BoolCtrlsHigh) -> Ordering
fn cmp(&self, other: &BoolCtrlsHigh) -> 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 BoolCtrlsHigh
impl PartialEq for BoolCtrlsHigh
source§fn eq(&self, other: &BoolCtrlsHigh) -> bool
fn eq(&self, other: &BoolCtrlsHigh) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BoolCtrlsHigh
impl PartialOrd for BoolCtrlsHigh
source§fn partial_cmp(&self, other: &BoolCtrlsHigh) -> Option<Ordering>
fn partial_cmp(&self, other: &BoolCtrlsHigh) -> 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 BoolCtrlsHigh
impl Eq for BoolCtrlsHigh
impl StructuralPartialEq for BoolCtrlsHigh
Auto Trait Implementations§
impl Freeze for BoolCtrlsHigh
impl RefUnwindSafe for BoolCtrlsHigh
impl Send for BoolCtrlsHigh
impl Sync for BoolCtrlsHigh
impl Unpin for BoolCtrlsHigh
impl UnwindSafe for BoolCtrlsHigh
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