pub enum LastHorizontalMotion {
None,
FindChar,
Sneak,
}Expand description
Tracks which kind of horizontal jump was last performed so ; / ,
can dispatch to the correct repeat handler.
FindChar— last horizontal motion wasf/F/t/T;;/,repeats viaMotion::FindRepeat.Sneak— last horizontal motion wass/Ssneak;;/,repeats viaapply_sneakwith the stored digraph.None— no horizontal motion yet;;/,are no-ops for both.
Variants§
Trait Implementations§
Source§impl Clone for LastHorizontalMotion
impl Clone for LastHorizontalMotion
Source§fn clone(&self) -> LastHorizontalMotion
fn clone(&self) -> LastHorizontalMotion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LastHorizontalMotion
Source§impl Debug for LastHorizontalMotion
impl Debug for LastHorizontalMotion
Source§impl Default for LastHorizontalMotion
impl Default for LastHorizontalMotion
Source§fn default() -> LastHorizontalMotion
fn default() -> LastHorizontalMotion
Returns the “default value” for a type. Read more
impl Eq for LastHorizontalMotion
Source§impl PartialEq for LastHorizontalMotion
impl PartialEq for LastHorizontalMotion
Source§fn eq(&self, other: &LastHorizontalMotion) -> bool
fn eq(&self, other: &LastHorizontalMotion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LastHorizontalMotion
Auto Trait Implementations§
impl Freeze for LastHorizontalMotion
impl RefUnwindSafe for LastHorizontalMotion
impl Send for LastHorizontalMotion
impl Sync for LastHorizontalMotion
impl Unpin for LastHorizontalMotion
impl UnsafeUnpin for LastHorizontalMotion
impl UnwindSafe for LastHorizontalMotion
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