Enum reedline::PromptViMode
source · [−]pub enum PromptViMode {
Normal,
Insert,
}
Expand description
The vi-specific modes that the prompt can be in
Variants
Normal
The default mode
Insert
Insertion mode
Trait Implementations
sourceimpl Clone for PromptViMode
impl Clone for PromptViMode
sourcefn clone(&self) -> PromptViMode
fn clone(&self) -> PromptViMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PromptViMode
impl Debug for PromptViMode
sourceimpl Default for PromptViMode
impl Default for PromptViMode
sourceimpl<'de> Deserialize<'de> for PromptViMode
impl<'de> Deserialize<'de> for PromptViMode
sourcefn 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
sourceimpl IntoEnumIterator for PromptViMode
impl IntoEnumIterator for PromptViMode
sourceimpl Serialize for PromptViMode
impl Serialize for PromptViMode
Auto Trait Implementations
impl RefUnwindSafe for PromptViMode
impl Send for PromptViMode
impl Sync for PromptViMode
impl Unpin for PromptViMode
impl UnwindSafe for PromptViMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more