pub enum SnapshotMode {
Normal,
Insert,
Visual,
VisualLine,
VisualBlock,
}Expand description
Status-line mode summary. Bridges to the legacy
crate::VimMode without leaking the full FSM type into the
snapshot wire format.
Variants§
Trait Implementations§
Source§impl Clone for SnapshotMode
impl Clone for SnapshotMode
Source§fn clone(&self) -> SnapshotMode
fn clone(&self) -> SnapshotMode
Returns a duplicate 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 SnapshotMode
impl Debug for SnapshotMode
Source§impl Default for SnapshotMode
impl Default for SnapshotMode
Source§fn default() -> SnapshotMode
fn default() -> SnapshotMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotMode
impl<'de> Deserialize<'de> for SnapshotMode
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 SnapshotMode
impl Hash for SnapshotMode
Source§impl PartialEq for SnapshotMode
impl PartialEq for SnapshotMode
Source§impl Serialize for SnapshotMode
impl Serialize for SnapshotMode
impl Copy for SnapshotMode
impl Eq for SnapshotMode
impl StructuralPartialEq for SnapshotMode
Auto Trait Implementations§
impl Freeze for SnapshotMode
impl RefUnwindSafe for SnapshotMode
impl Send for SnapshotMode
impl Sync for SnapshotMode
impl Unpin for SnapshotMode
impl UnsafeUnpin for SnapshotMode
impl UnwindSafe for SnapshotMode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more