Enum reedline::PromptViMode
source · pub enum PromptViMode {
Normal,
Insert,
}
Expand description
The vi-specific modes that the prompt can be in
Variants§
Trait Implementations§
source§impl Clone for PromptViMode
impl Clone for PromptViMode
source§fn clone(&self) -> PromptViMode
fn clone(&self) -> PromptViMode
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 PromptViMode
impl Debug for PromptViMode
source§impl Default for PromptViMode
impl Default for PromptViMode
source§fn default() -> PromptViMode
fn default() -> PromptViMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PromptViMode
impl<'de> Deserialize<'de> for PromptViMode
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 IntoEnumIterator for PromptViMode
impl IntoEnumIterator for PromptViMode
Auto Trait Implementations§
impl Freeze for PromptViMode
impl RefUnwindSafe for PromptViMode
impl Send for PromptViMode
impl Sync for PromptViMode
impl Unpin for PromptViMode
impl UnwindSafe for PromptViMode
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