#[repr(u32)]pub enum KeymapId {
UsQwerty = 0,
FrAzerty = 1,
UsDvorak = 2,
UsColemak = 3,
UnknownOrdinal_(u32),
}Expand description
Keymaps that should always be present and selectable. The fallback keymaps may be useful on their own but are mainly here to ensure that at least some keymap is present if no other custom keymaps have been defined or in use.
Variants§
Trait Implementations§
Source§impl<'a, ___E> Encode<KeymapId, ___E> for &'a KeymapIdwhere
___E: ?Sized,
impl<'a, ___E> Encode<KeymapId, ___E> for &'a KeymapIdwhere
___E: ?Sized,
Source§impl<___E> Encode<KeymapId, ___E> for KeymapIdwhere
___E: ?Sized,
impl<___E> Encode<KeymapId, ___E> for KeymapIdwhere
___E: ?Sized,
Source§impl FromWireRef<KeymapId> for KeymapId
impl FromWireRef<KeymapId> for KeymapId
Source§fn from_wire_ref(wire: &KeymapId) -> KeymapId
fn from_wire_ref(wire: &KeymapId) -> KeymapId
Converts the given reference to this type.
Source§impl Ord for KeymapId
impl Ord for KeymapId
Source§impl PartialOrd for KeymapId
impl PartialOrd for KeymapId
impl Copy for KeymapId
impl Eq for KeymapId
impl StructuralPartialEq for KeymapId
Auto Trait Implementations§
impl Freeze for KeymapId
impl RefUnwindSafe for KeymapId
impl Send for KeymapId
impl Sync for KeymapId
impl Unpin for KeymapId
impl UnsafeUnpin for KeymapId
impl UnwindSafe for KeymapId
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]