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