pub enum WordType {
Small,
Big,
}Expand description
Word type for boundary detection.
Determines how word boundaries are calculated:
Small: Traditional vim “word” (w/b/e motions)Big: Traditional vim “WORD” (W/B/E motions)
Variants§
Small
Small word: word characters only, punctuation is separate.
Big
Big word: any non-whitespace sequence.
Trait Implementations§
impl Copy for WordType
impl Eq for WordType
impl StructuralPartialEq for WordType
Auto Trait Implementations§
impl Freeze for WordType
impl RefUnwindSafe for WordType
impl Send for WordType
impl Sync for WordType
impl Unpin for WordType
impl UnsafeUnpin for WordType
impl UnwindSafe for WordType
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