#[non_exhaustive]pub struct KeymapFormat(pub u32);Expand description
keyboard mapping format
This specifies the format of the keymap provided to the client with the wl_keyboard.keymap event.
Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: u32Implementations§
Trait Implementations§
Source§impl Clone for KeymapFormat
impl Clone for KeymapFormat
Source§fn clone(&self) -> KeymapFormat
fn clone(&self) -> KeymapFormat
Returns a duplicate 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 KeymapFormat
impl Debug for KeymapFormat
Source§impl From<KeymapFormat> for u32
impl From<KeymapFormat> for u32
Source§fn from(val: KeymapFormat) -> u32
fn from(val: KeymapFormat) -> u32
Converts to this type from the input type.
Source§impl Hash for KeymapFormat
impl Hash for KeymapFormat
Source§impl Ord for KeymapFormat
impl Ord for KeymapFormat
Source§fn cmp(&self, other: &KeymapFormat) -> Ordering
fn cmp(&self, other: &KeymapFormat) -> 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 KeymapFormat
impl PartialEq for KeymapFormat
Source§impl PartialOrd for KeymapFormat
impl PartialOrd for KeymapFormat
Source§impl TryFrom<u32> for KeymapFormat
impl TryFrom<u32> for KeymapFormat
impl Copy for KeymapFormat
impl Eq for KeymapFormat
impl StructuralPartialEq for KeymapFormat
Auto Trait Implementations§
impl Freeze for KeymapFormat
impl RefUnwindSafe for KeymapFormat
impl Send for KeymapFormat
impl Sync for KeymapFormat
impl Unpin for KeymapFormat
impl UnsafeUnpin for KeymapFormat
impl UnwindSafe for KeymapFormat
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