pub enum DisplayFormat {
Symbols,
Debug,
Full,
Abbreviation,
}Variants§
Symbols
use symbol for each key stroke
Debug
Debug print same as config format
Full
Display with full name of key
Abbreviation
Display with abbreviated key names (e.g., ‘Ctrl’ instead of ‘Control’)
Trait Implementations§
Source§impl Default for DisplayFormat
impl Default for DisplayFormat
Source§fn default() -> DisplayFormat
fn default() -> DisplayFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for DisplayFormat
impl PartialEq for DisplayFormat
Source§fn eq(&self, other: &DisplayFormat) -> bool
fn eq(&self, other: &DisplayFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DisplayFormat
Auto Trait Implementations§
impl Freeze for DisplayFormat
impl RefUnwindSafe for DisplayFormat
impl Send for DisplayFormat
impl Sync for DisplayFormat
impl Unpin for DisplayFormat
impl UnsafeUnpin for DisplayFormat
impl UnwindSafe for DisplayFormat
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