#[non_exhaustive]pub enum KeybindingFlavor {
Classic,
Readline,
Other(String),
}Expand description
keybindingFlavor.
Docs: keybindingFlavor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Classic
Claude Code’s own bindings.
Readline
readline bindings.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for KeybindingFlavor
impl AsRef<str> for KeybindingFlavor
Source§impl Clone for KeybindingFlavor
impl Clone for KeybindingFlavor
Source§impl Debug for KeybindingFlavor
impl Debug for KeybindingFlavor
Source§impl<'de> Deserialize<'de> for KeybindingFlavor
impl<'de> Deserialize<'de> for KeybindingFlavor
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for KeybindingFlavor
impl Display for KeybindingFlavor
impl Eq for KeybindingFlavor
Source§impl From<&str> for KeybindingFlavor
impl From<&str> for KeybindingFlavor
Source§impl From<String> for KeybindingFlavor
impl From<String> for KeybindingFlavor
Source§impl Hash for KeybindingFlavor
impl Hash for KeybindingFlavor
Source§impl Ord for KeybindingFlavor
impl Ord for KeybindingFlavor
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for KeybindingFlavor
impl PartialEq for KeybindingFlavor
Source§impl PartialOrd for KeybindingFlavor
impl PartialOrd for KeybindingFlavor
Source§impl Serialize for KeybindingFlavor
impl Serialize for KeybindingFlavor
impl StructuralPartialEq for KeybindingFlavor
Auto Trait Implementations§
impl Forget for KeybindingFlavor
impl Freeze for KeybindingFlavor
impl Move for KeybindingFlavor
impl RefUnwindSafe for KeybindingFlavor
impl Send for KeybindingFlavor
impl Sync for KeybindingFlavor
impl Unpin for KeybindingFlavor
impl UnsafeUnpin for KeybindingFlavor
impl UnwindSafe for KeybindingFlavor
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