pub enum ModifyOtherKeysMode {
Disabled,
Mode1,
Mode2,
}Expand description
Decoded modifyOtherKeys mode (CSI > 4 ; n m).
Variants§
Disabled
Disabled.
Mode1
Mode 1 — only modify keys that don’t otherwise have an xterm sequence.
Mode2
Mode 2 — modify all keys.
Implementations§
Source§impl ModifyOtherKeysMode
impl ModifyOtherKeysMode
Sourcepub fn from_value(v: u8) -> Self
pub fn from_value(v: u8) -> Self
Convert a report value into a modifyOtherKeys mode.
Trait Implementations§
Source§impl Clone for ModifyOtherKeysMode
impl Clone for ModifyOtherKeysMode
Source§fn clone(&self) -> ModifyOtherKeysMode
fn clone(&self) -> ModifyOtherKeysMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModifyOtherKeysMode
impl Debug for ModifyOtherKeysMode
Source§impl Hash for ModifyOtherKeysMode
impl Hash for ModifyOtherKeysMode
Source§impl PartialEq for ModifyOtherKeysMode
impl PartialEq for ModifyOtherKeysMode
Source§fn eq(&self, other: &ModifyOtherKeysMode) -> bool
fn eq(&self, other: &ModifyOtherKeysMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ModifyOtherKeysMode
impl Eq for ModifyOtherKeysMode
impl StructuralPartialEq for ModifyOtherKeysMode
Auto Trait Implementations§
impl Freeze for ModifyOtherKeysMode
impl RefUnwindSafe for ModifyOtherKeysMode
impl Send for ModifyOtherKeysMode
impl Sync for ModifyOtherKeysMode
impl Unpin for ModifyOtherKeysMode
impl UnsafeUnpin for ModifyOtherKeysMode
impl UnwindSafe for ModifyOtherKeysMode
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