#[repr(u8)]pub enum KittyKeyboardMode {
Set = 1,
Add = 2,
Remove = 3,
}Expand description
Operation mode used by write_set_kitty_keyboard for CSI = flags ; mode u.
Variants§
Set = 1
Replace the active keyboard flags with exactly the supplied flag set; parameter value 1.
Add = 2
Add the supplied keyboard flags to the active set; parameter value 2.
Remove = 3
Remove the supplied keyboard flags from the active set; parameter value 3.
Trait Implementations§
Source§impl Clone for KittyKeyboardMode
impl Clone for KittyKeyboardMode
Source§fn clone(&self) -> KittyKeyboardMode
fn clone(&self) -> KittyKeyboardMode
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 KittyKeyboardMode
impl Debug for KittyKeyboardMode
Source§impl PartialEq for KittyKeyboardMode
impl PartialEq for KittyKeyboardMode
Source§fn eq(&self, other: &KittyKeyboardMode) -> bool
fn eq(&self, other: &KittyKeyboardMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for KittyKeyboardMode
impl Eq for KittyKeyboardMode
impl StructuralPartialEq for KittyKeyboardMode
Auto Trait Implementations§
impl Freeze for KittyKeyboardMode
impl RefUnwindSafe for KittyKeyboardMode
impl Send for KittyKeyboardMode
impl Sync for KittyKeyboardMode
impl Unpin for KittyKeyboardMode
impl UnsafeUnpin for KittyKeyboardMode
impl UnwindSafe for KittyKeyboardMode
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