Struct x11rb_protocol::protocol::xkb::NameDetail
source · pub struct NameDetail(/* private fields */);
Implementations§
source§impl NameDetail
impl NameDetail
pub const KEYCODES: Self = _
pub const GEOMETRY: Self = _
pub const SYMBOLS: Self = _
pub const PHYS_SYMBOLS: Self = _
pub const TYPES: Self = _
pub const COMPAT: Self = _
pub const KEY_TYPE_NAMES: Self = _
pub const KT_LEVEL_NAMES: Self = _
pub const INDICATOR_NAMES: Self = _
pub const KEY_NAMES: Self = _
pub const KEY_ALIASES: Self = _
pub const VIRTUAL_MOD_NAMES: Self = _
pub const GROUP_NAMES: Self = _
pub const RG_NAMES: Self = _
source§impl NameDetail
impl NameDetail
sourcepub fn contains(self, flag: impl Into<u32>) -> bool
pub fn contains(self, flag: impl Into<u32>) -> 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<u32>) -> bool
pub fn intersects(self, flag: impl Into<u32>) -> 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<NameDetail> for u32
impl BitAnd<NameDetail> for u32
§type Output = NameDetail
type Output = NameDetail
The resulting type after applying the
&
operator.source§impl BitAnd<u32> for NameDetail
impl BitAnd<u32> for NameDetail
source§impl BitAnd for NameDetail
impl BitAnd for NameDetail
source§impl BitAndAssign<NameDetail> for u32
impl BitAndAssign<NameDetail> for u32
source§fn bitand_assign(&mut self, other: NameDetail)
fn bitand_assign(&mut self, other: NameDetail)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u32> for NameDetail
impl BitAndAssign<u32> for NameDetail
source§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
Performs the
&=
operation. Read moresource§impl BitAndAssign for NameDetail
impl BitAndAssign for NameDetail
source§fn bitand_assign(&mut self, other: NameDetail)
fn bitand_assign(&mut self, other: NameDetail)
Performs the
&=
operation. Read moresource§impl BitOr<NameDetail> for u32
impl BitOr<NameDetail> for u32
§type Output = NameDetail
type Output = NameDetail
The resulting type after applying the
|
operator.source§impl BitOr<u32> for NameDetail
impl BitOr<u32> for NameDetail
source§impl BitOr for NameDetail
impl BitOr for NameDetail
source§impl BitOrAssign<NameDetail> for u32
impl BitOrAssign<NameDetail> for u32
source§fn bitor_assign(&mut self, other: NameDetail)
fn bitor_assign(&mut self, other: NameDetail)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u32> for NameDetail
impl BitOrAssign<u32> for NameDetail
source§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
Performs the
|=
operation. Read moresource§impl BitOrAssign for NameDetail
impl BitOrAssign for NameDetail
source§fn bitor_assign(&mut self, other: NameDetail)
fn bitor_assign(&mut self, other: NameDetail)
Performs the
|=
operation. Read moresource§impl Clone for NameDetail
impl Clone for NameDetail
source§fn clone(&self) -> NameDetail
fn clone(&self) -> NameDetail
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 NameDetail
impl Debug for NameDetail
source§impl Default for NameDetail
impl Default for NameDetail
source§fn default() -> NameDetail
fn default() -> NameDetail
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NameDetail
impl<'de> Deserialize<'de> for NameDetail
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<NameDetail> for Option<u32>
impl From<NameDetail> for Option<u32>
source§fn from(input: NameDetail) -> Self
fn from(input: NameDetail) -> Self
Converts to this type from the input type.
source§impl From<NameDetail> for u32
impl From<NameDetail> for u32
source§fn from(input: NameDetail) -> Self
fn from(input: NameDetail) -> Self
Converts to this type from the input type.
source§impl From<u16> for NameDetail
impl From<u16> for NameDetail
source§impl From<u32> for NameDetail
impl From<u32> for NameDetail
source§impl From<u8> for NameDetail
impl From<u8> for NameDetail
source§impl Hash for NameDetail
impl Hash for NameDetail
source§impl Ord for NameDetail
impl Ord for NameDetail
source§fn cmp(&self, other: &NameDetail) -> Ordering
fn cmp(&self, other: &NameDetail) -> 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 NameDetail
impl PartialEq for NameDetail
source§fn eq(&self, other: &NameDetail) -> bool
fn eq(&self, other: &NameDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NameDetail
impl PartialOrd for NameDetail
source§fn partial_cmp(&self, other: &NameDetail) -> Option<Ordering>
fn partial_cmp(&self, other: &NameDetail) -> 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 NameDetail
impl Serialize for NameDetail
impl Copy for NameDetail
impl Eq for NameDetail
impl StructuralPartialEq for NameDetail
Auto Trait Implementations§
impl Freeze for NameDetail
impl RefUnwindSafe for NameDetail
impl Send for NameDetail
impl Sync for NameDetail
impl Unpin for NameDetail
impl UnwindSafe for NameDetail
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