pub enum MotionShape {
Characterwise {
inclusive: bool,
},
Linewise,
}Expand description
How vim thinks about a range (0014): charwise ops carry the motion’s inclusivity (dfx vs dtx differ by it); linewise is line-shaped. Blockwise lands with visual block — the enum is the extension point.
Variants§
Trait Implementations§
Source§impl Clone for MotionShape
impl Clone for MotionShape
Source§fn clone(&self) -> MotionShape
fn clone(&self) -> MotionShape
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 MotionShape
Source§impl Debug for MotionShape
impl Debug for MotionShape
impl Eq for MotionShape
Source§impl PartialEq for MotionShape
impl PartialEq for MotionShape
impl StructuralPartialEq for MotionShape
Auto Trait Implementations§
impl Freeze for MotionShape
impl RefUnwindSafe for MotionShape
impl Send for MotionShape
impl Sync for MotionShape
impl Unpin for MotionShape
impl UnsafeUnpin for MotionShape
impl UnwindSafe for MotionShape
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