pub enum FindKind {
Forward,
Backward,
TillForward,
TillBackward,
}Expand description
f / F / t / T — which direction, and whether the target character
is included.
VM.3c moved this down from lattice_host::action so ; and , can be
MOTIONS. They have to be: vim composes them (d; repeats the last find
under an operator) and VM.1’s derivation only mirrors motions into Visual,
so as actions they were unreachable from a selection and from an operator
both. The host re-exports this name, so no call site moved.
Variants§
Forward
f — forward to the next occurrence, landing ON it.
Backward
F — backward to the previous occurrence, landing ON it.
TillForward
t — forward, landing one byte BEFORE it.
TillBackward
T — backward, landing one byte AFTER it.
Implementations§
Trait Implementations§
impl Copy for FindKind
impl Eq for FindKind
impl StructuralPartialEq for FindKind
Auto Trait Implementations§
impl Freeze for FindKind
impl RefUnwindSafe for FindKind
impl Send for FindKind
impl Sync for FindKind
impl Unpin for FindKind
impl UnsafeUnpin for FindKind
impl UnwindSafe for FindKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.