Struct x11rb_protocol::protocol::xkb::IMGroupsWhich
source · pub struct IMGroupsWhich(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl IMGroupsWhich
impl IMGroupsWhich
pub const USE_COMPAT: Self = _
pub const USE_EFFECTIVE: Self = _
pub const USE_LOCKED: Self = _
pub const USE_LATCHED: Self = _
pub const USE_BASE: Self = _
source§impl IMGroupsWhich
impl IMGroupsWhich
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<IMGroupsWhich> for u8
impl BitAnd<IMGroupsWhich> for u8
source§type Output = IMGroupsWhich
type Output = IMGroupsWhich
The resulting type after applying the
&
operator.source§impl BitAnd<u8> for IMGroupsWhich
impl BitAnd<u8> for IMGroupsWhich
source§impl BitAnd for IMGroupsWhich
impl BitAnd for IMGroupsWhich
source§impl BitAndAssign<IMGroupsWhich> for u8
impl BitAndAssign<IMGroupsWhich> for u8
source§fn bitand_assign(&mut self, other: IMGroupsWhich)
fn bitand_assign(&mut self, other: IMGroupsWhich)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u8> for IMGroupsWhich
impl BitAndAssign<u8> for IMGroupsWhich
source§fn bitand_assign(&mut self, other: u8)
fn bitand_assign(&mut self, other: u8)
Performs the
&=
operation. Read moresource§impl BitAndAssign for IMGroupsWhich
impl BitAndAssign for IMGroupsWhich
source§fn bitand_assign(&mut self, other: IMGroupsWhich)
fn bitand_assign(&mut self, other: IMGroupsWhich)
Performs the
&=
operation. Read moresource§impl BitOr<IMGroupsWhich> for u8
impl BitOr<IMGroupsWhich> for u8
source§type Output = IMGroupsWhich
type Output = IMGroupsWhich
The resulting type after applying the
|
operator.source§impl BitOr<u8> for IMGroupsWhich
impl BitOr<u8> for IMGroupsWhich
source§impl BitOr for IMGroupsWhich
impl BitOr for IMGroupsWhich
source§impl BitOrAssign<IMGroupsWhich> for u8
impl BitOrAssign<IMGroupsWhich> for u8
source§fn bitor_assign(&mut self, other: IMGroupsWhich)
fn bitor_assign(&mut self, other: IMGroupsWhich)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u8> for IMGroupsWhich
impl BitOrAssign<u8> for IMGroupsWhich
source§fn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the
|=
operation. Read moresource§impl BitOrAssign for IMGroupsWhich
impl BitOrAssign for IMGroupsWhich
source§fn bitor_assign(&mut self, other: IMGroupsWhich)
fn bitor_assign(&mut self, other: IMGroupsWhich)
Performs the
|=
operation. Read moresource§impl Clone for IMGroupsWhich
impl Clone for IMGroupsWhich
source§fn clone(&self) -> IMGroupsWhich
fn clone(&self) -> IMGroupsWhich
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 IMGroupsWhich
impl Debug for IMGroupsWhich
source§impl Default for IMGroupsWhich
impl Default for IMGroupsWhich
source§fn default() -> IMGroupsWhich
fn default() -> IMGroupsWhich
Returns the “default value” for a type. Read more
source§impl From<IMGroupsWhich> for Option<u16>
impl From<IMGroupsWhich> for Option<u16>
source§fn from(input: IMGroupsWhich) -> Self
fn from(input: IMGroupsWhich) -> Self
Converts to this type from the input type.
source§impl From<IMGroupsWhich> for Option<u32>
impl From<IMGroupsWhich> for Option<u32>
source§fn from(input: IMGroupsWhich) -> Self
fn from(input: IMGroupsWhich) -> Self
Converts to this type from the input type.
source§impl From<IMGroupsWhich> for Option<u8>
impl From<IMGroupsWhich> for Option<u8>
source§fn from(input: IMGroupsWhich) -> Self
fn from(input: IMGroupsWhich) -> Self
Converts to this type from the input type.
source§impl From<IMGroupsWhich> for u16
impl From<IMGroupsWhich> for u16
source§fn from(input: IMGroupsWhich) -> Self
fn from(input: IMGroupsWhich) -> Self
Converts to this type from the input type.
source§impl From<IMGroupsWhich> for u32
impl From<IMGroupsWhich> for u32
source§fn from(input: IMGroupsWhich) -> Self
fn from(input: IMGroupsWhich) -> Self
Converts to this type from the input type.
source§impl From<IMGroupsWhich> for u8
impl From<IMGroupsWhich> for u8
source§fn from(input: IMGroupsWhich) -> Self
fn from(input: IMGroupsWhich) -> Self
Converts to this type from the input type.
source§impl From<u8> for IMGroupsWhich
impl From<u8> for IMGroupsWhich
source§impl Hash for IMGroupsWhich
impl Hash for IMGroupsWhich
source§impl Ord for IMGroupsWhich
impl Ord for IMGroupsWhich
source§fn cmp(&self, other: &IMGroupsWhich) -> Ordering
fn cmp(&self, other: &IMGroupsWhich) -> 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 IMGroupsWhich
impl PartialEq for IMGroupsWhich
source§impl PartialOrd for IMGroupsWhich
impl PartialOrd for IMGroupsWhich
impl Copy for IMGroupsWhich
impl Eq for IMGroupsWhich
impl StructuralPartialEq for IMGroupsWhich
Auto Trait Implementations§
impl Freeze for IMGroupsWhich
impl RefUnwindSafe for IMGroupsWhich
impl Send for IMGroupsWhich
impl Sync for IMGroupsWhich
impl Unpin for IMGroupsWhich
impl UnwindSafe for IMGroupsWhich
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)