Struct x11rb::protocol::xkb::BoolCtrlsHigh
source · pub struct BoolCtrlsHigh(/* private fields */);
Implementations§
source§impl BoolCtrlsHigh
impl BoolCtrlsHigh
pub const ACCESS_X_FEEDBACK: BoolCtrlsHigh = _
pub const AUDIBLE_BELL: BoolCtrlsHigh = _
pub const OVERLAY1: BoolCtrlsHigh = _
pub const OVERLAY2: BoolCtrlsHigh = _
pub const IGNORE_GROUP_LOCK: BoolCtrlsHigh = _
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.
sourcepub fn remove(self, flags: impl Into<u8>) -> BoolCtrlsHigh
pub fn remove(self, flags: impl Into<u8>) -> BoolCtrlsHigh
Remove some flags.
All bits that are set in the given flags are removed from the self
instance, if
they are present.
Trait Implementations§
source§impl BitAnd<u8> for BoolCtrlsHigh
impl BitAnd<u8> for BoolCtrlsHigh
source§impl BitAnd for BoolCtrlsHigh
impl BitAnd for BoolCtrlsHigh
§type Output = BoolCtrlsHigh
type Output = BoolCtrlsHigh
The resulting type after applying the
&
operator.source§fn bitand(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitAnd>::Output
fn bitand(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitAnd>::Output
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<u8> for BoolCtrlsHigh
impl BitOr<u8> for BoolCtrlsHigh
source§impl BitOr for BoolCtrlsHigh
impl BitOr for BoolCtrlsHigh
§type Output = BoolCtrlsHigh
type Output = BoolCtrlsHigh
The resulting type after applying the
|
operator.source§fn bitor(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitOr>::Output
fn bitor(self, other: BoolCtrlsHigh) -> <BoolCtrlsHigh as BitOr>::Output
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<u8> for BoolCtrlsHigh
impl From<u8> for BoolCtrlsHigh
source§fn from(value: u8) -> BoolCtrlsHigh
fn from(value: u8) -> BoolCtrlsHigh
Converts to this type from the input type.
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 StructuralEq for BoolCtrlsHigh
impl StructuralPartialEq for BoolCtrlsHigh
Auto Trait Implementations§
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