Struct x11rb_protocol::protocol::xkb::SAIsoLockNoAffect
source · pub struct SAIsoLockNoAffect(/* private fields */);
Implementations§
source§impl SAIsoLockNoAffect
impl SAIsoLockNoAffect
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<SAIsoLockNoAffect> for u8
impl BitAnd<SAIsoLockNoAffect> for u8
§type Output = SAIsoLockNoAffect
type Output = SAIsoLockNoAffect
The resulting type after applying the
&
operator.source§impl BitAnd<u8> for SAIsoLockNoAffect
impl BitAnd<u8> for SAIsoLockNoAffect
source§impl BitAnd for SAIsoLockNoAffect
impl BitAnd for SAIsoLockNoAffect
source§impl BitAndAssign<SAIsoLockNoAffect> for u8
impl BitAndAssign<SAIsoLockNoAffect> for u8
source§fn bitand_assign(&mut self, other: SAIsoLockNoAffect)
fn bitand_assign(&mut self, other: SAIsoLockNoAffect)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u8> for SAIsoLockNoAffect
impl BitAndAssign<u8> for SAIsoLockNoAffect
source§fn bitand_assign(&mut self, other: u8)
fn bitand_assign(&mut self, other: u8)
Performs the
&=
operation. Read moresource§impl BitAndAssign for SAIsoLockNoAffect
impl BitAndAssign for SAIsoLockNoAffect
source§fn bitand_assign(&mut self, other: SAIsoLockNoAffect)
fn bitand_assign(&mut self, other: SAIsoLockNoAffect)
Performs the
&=
operation. Read moresource§impl BitOr<SAIsoLockNoAffect> for u8
impl BitOr<SAIsoLockNoAffect> for u8
§type Output = SAIsoLockNoAffect
type Output = SAIsoLockNoAffect
The resulting type after applying the
|
operator.source§impl BitOr<u8> for SAIsoLockNoAffect
impl BitOr<u8> for SAIsoLockNoAffect
source§impl BitOr for SAIsoLockNoAffect
impl BitOr for SAIsoLockNoAffect
source§impl BitOrAssign<SAIsoLockNoAffect> for u8
impl BitOrAssign<SAIsoLockNoAffect> for u8
source§fn bitor_assign(&mut self, other: SAIsoLockNoAffect)
fn bitor_assign(&mut self, other: SAIsoLockNoAffect)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u8> for SAIsoLockNoAffect
impl BitOrAssign<u8> for SAIsoLockNoAffect
source§fn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the
|=
operation. Read moresource§impl BitOrAssign for SAIsoLockNoAffect
impl BitOrAssign for SAIsoLockNoAffect
source§fn bitor_assign(&mut self, other: SAIsoLockNoAffect)
fn bitor_assign(&mut self, other: SAIsoLockNoAffect)
Performs the
|=
operation. Read moresource§impl Clone for SAIsoLockNoAffect
impl Clone for SAIsoLockNoAffect
source§fn clone(&self) -> SAIsoLockNoAffect
fn clone(&self) -> SAIsoLockNoAffect
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 SAIsoLockNoAffect
impl Debug for SAIsoLockNoAffect
source§impl Default for SAIsoLockNoAffect
impl Default for SAIsoLockNoAffect
source§fn default() -> SAIsoLockNoAffect
fn default() -> SAIsoLockNoAffect
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SAIsoLockNoAffect
impl<'de> Deserialize<'de> for SAIsoLockNoAffect
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<SAIsoLockNoAffect> for Option<u16>
impl From<SAIsoLockNoAffect> for Option<u16>
source§fn from(input: SAIsoLockNoAffect) -> Self
fn from(input: SAIsoLockNoAffect) -> Self
Converts to this type from the input type.
source§impl From<SAIsoLockNoAffect> for Option<u32>
impl From<SAIsoLockNoAffect> for Option<u32>
source§fn from(input: SAIsoLockNoAffect) -> Self
fn from(input: SAIsoLockNoAffect) -> Self
Converts to this type from the input type.
source§impl From<SAIsoLockNoAffect> for Option<u8>
impl From<SAIsoLockNoAffect> for Option<u8>
source§fn from(input: SAIsoLockNoAffect) -> Self
fn from(input: SAIsoLockNoAffect) -> Self
Converts to this type from the input type.
source§impl From<SAIsoLockNoAffect> for u16
impl From<SAIsoLockNoAffect> for u16
source§fn from(input: SAIsoLockNoAffect) -> Self
fn from(input: SAIsoLockNoAffect) -> Self
Converts to this type from the input type.
source§impl From<SAIsoLockNoAffect> for u32
impl From<SAIsoLockNoAffect> for u32
source§fn from(input: SAIsoLockNoAffect) -> Self
fn from(input: SAIsoLockNoAffect) -> Self
Converts to this type from the input type.
source§impl From<SAIsoLockNoAffect> for u8
impl From<SAIsoLockNoAffect> for u8
source§fn from(input: SAIsoLockNoAffect) -> Self
fn from(input: SAIsoLockNoAffect) -> Self
Converts to this type from the input type.
source§impl From<u8> for SAIsoLockNoAffect
impl From<u8> for SAIsoLockNoAffect
source§impl Hash for SAIsoLockNoAffect
impl Hash for SAIsoLockNoAffect
source§impl Ord for SAIsoLockNoAffect
impl Ord for SAIsoLockNoAffect
source§fn cmp(&self, other: &SAIsoLockNoAffect) -> Ordering
fn cmp(&self, other: &SAIsoLockNoAffect) -> 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 SAIsoLockNoAffect
impl PartialEq for SAIsoLockNoAffect
source§fn eq(&self, other: &SAIsoLockNoAffect) -> bool
fn eq(&self, other: &SAIsoLockNoAffect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SAIsoLockNoAffect
impl PartialOrd for SAIsoLockNoAffect
source§fn partial_cmp(&self, other: &SAIsoLockNoAffect) -> Option<Ordering>
fn partial_cmp(&self, other: &SAIsoLockNoAffect) -> 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 moresource§impl Serialize for SAIsoLockNoAffect
impl Serialize for SAIsoLockNoAffect
impl Copy for SAIsoLockNoAffect
impl Eq for SAIsoLockNoAffect
impl StructuralPartialEq for SAIsoLockNoAffect
Auto Trait Implementations§
impl Freeze for SAIsoLockNoAffect
impl RefUnwindSafe for SAIsoLockNoAffect
impl Send for SAIsoLockNoAffect
impl Sync for SAIsoLockNoAffect
impl Unpin for SAIsoLockNoAffect
impl UnwindSafe for SAIsoLockNoAffect
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