Enum youtube_tui::config::serde::KeyVariantsSerde
source · pub enum KeyVariantsSerde {
Show 23 variants
Backspace,
Enter,
Left,
Right,
Up,
Down,
Home,
End,
PageUp,
PageDown,
Tab,
BackTab,
Delete,
Insert,
Null,
Esc,
CapsLock,
ScrollLock,
NumLock,
PrintScreen,
Pause,
Menu,
KeypadBegin,
}
Expand description
values of all default keys (excluding chars and function keys)
Variants§
Backspace
Enter
Left
Right
Up
Down
Home
End
PageUp
PageDown
Tab
BackTab
Delete
Insert
Null
Esc
CapsLock
ScrollLock
NumLock
PrintScreen
Pause
Menu
KeypadBegin
Trait Implementations§
source§impl Clone for KeyVariantsSerde
impl Clone for KeyVariantsSerde
source§fn clone(&self) -> KeyVariantsSerde
fn clone(&self) -> KeyVariantsSerde
Returns a copy 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 KeyVariantsSerde
impl Debug for KeyVariantsSerde
source§impl<'de> Deserialize<'de> for KeyVariantsSerde
impl<'de> Deserialize<'de> for KeyVariantsSerde
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for KeyVariantsSerde
impl Hash for KeyVariantsSerde
source§impl PartialEq<KeyVariantsSerde> for KeyVariantsSerde
impl PartialEq<KeyVariantsSerde> for KeyVariantsSerde
source§fn eq(&self, other: &KeyVariantsSerde) -> bool
fn eq(&self, other: &KeyVariantsSerde) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeyVariantsSerde
impl Serialize for KeyVariantsSerde
impl Eq for KeyVariantsSerde
impl StructuralEq for KeyVariantsSerde
impl StructuralPartialEq for KeyVariantsSerde
Auto Trait Implementations§
impl RefUnwindSafe for KeyVariantsSerde
impl Send for KeyVariantsSerde
impl Sync for KeyVariantsSerde
impl Unpin for KeyVariantsSerde
impl UnwindSafe for KeyVariantsSerde
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> CloneAny for Twhere
T: Any + Clone,
impl<T> CloneAny for Twhere T: Any + Clone,
fn clone_any(&self) -> Box<dyn CloneAny, Global>
fn clone_any_send(&self) -> Box<dyn CloneAny + Send, Global>where T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync, Global>where T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + Sync + Send, Global>where T: Send + Sync,
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.