Struct NameDetail
pub struct NameDetail(/* private fields */);
Implementations§
§impl NameDetail
impl NameDetail
pub const KEYCODES: NameDetail = _
pub const GEOMETRY: NameDetail = _
pub const SYMBOLS: NameDetail = _
pub const PHYS_SYMBOLS: NameDetail = _
pub const TYPES: NameDetail = _
pub const COMPAT: NameDetail = _
pub const KEY_TYPE_NAMES: NameDetail = _
pub const KT_LEVEL_NAMES: NameDetail = _
pub const INDICATOR_NAMES: NameDetail = _
pub const KEY_NAMES: NameDetail = _
pub const KEY_ALIASES: NameDetail = _
pub const VIRTUAL_MOD_NAMES: NameDetail = _
pub const GROUP_NAMES: NameDetail = _
pub const RG_NAMES: NameDetail = _
§impl NameDetail
impl NameDetail
pub 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.
pub 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.
pub fn remove(self, flags: impl Into<u32>) -> NameDetail
pub fn remove(self, flags: impl Into<u32>) -> NameDetail
Remove some flags.
All bits that are set in the given flags are removed from the self
instance, if
they are present.
Trait Implementations§
§impl BitAnd<u32> for NameDetail
impl BitAnd<u32> for NameDetail
§impl BitAnd for NameDetail
impl BitAnd for NameDetail
§type Output = NameDetail
type Output = NameDetail
The resulting type after applying the
&
operator.§fn bitand(self, other: NameDetail) -> <NameDetail as BitAnd>::Output
fn bitand(self, other: NameDetail) -> <NameDetail as BitAnd>::Output
Performs the
&
operation. Read more§impl BitAndAssign<u32> for NameDetail
impl BitAndAssign<u32> for NameDetail
§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
Performs the
&=
operation. Read more§impl BitAndAssign for NameDetail
impl BitAndAssign for NameDetail
§fn bitand_assign(&mut self, other: NameDetail)
fn bitand_assign(&mut self, other: NameDetail)
Performs the
&=
operation. Read more§impl BitOr<u32> for NameDetail
impl BitOr<u32> for NameDetail
§impl BitOr for NameDetail
impl BitOr for NameDetail
§type Output = NameDetail
type Output = NameDetail
The resulting type after applying the
|
operator.§fn bitor(self, other: NameDetail) -> <NameDetail as BitOr>::Output
fn bitor(self, other: NameDetail) -> <NameDetail as BitOr>::Output
Performs the
|
operation. Read more§impl BitOrAssign<u32> for NameDetail
impl BitOrAssign<u32> for NameDetail
§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
Performs the
|=
operation. Read more§impl BitOrAssign for NameDetail
impl BitOrAssign for NameDetail
§fn bitor_assign(&mut self, other: NameDetail)
fn bitor_assign(&mut self, other: NameDetail)
Performs the
|=
operation. Read more§impl Clone for NameDetail
impl Clone for NameDetail
§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 more§impl Debug for NameDetail
impl Debug for NameDetail
§impl Default for NameDetail
impl Default for NameDetail
§fn default() -> NameDetail
fn default() -> NameDetail
Returns the “default value” for a type. Read more
§impl From<u16> for NameDetail
impl From<u16> for NameDetail
§fn from(value: u16) -> NameDetail
fn from(value: u16) -> NameDetail
Converts to this type from the input type.
§impl From<u32> for NameDetail
impl From<u32> for NameDetail
§fn from(value: u32) -> NameDetail
fn from(value: u32) -> NameDetail
Converts to this type from the input type.
§impl From<u8> for NameDetail
impl From<u8> for NameDetail
§fn from(value: u8) -> NameDetail
fn from(value: u8) -> NameDetail
Converts to this type from the input type.
§impl Hash for NameDetail
impl Hash for NameDetail
§impl Ord for NameDetail
impl Ord for NameDetail
§impl PartialEq for NameDetail
impl PartialEq for NameDetail
§impl PartialOrd for NameDetail
impl PartialOrd 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
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
)