pub enum AbbrevKind {
Full,
End,
NonKw,
}Expand description
Classify a vim abbreviation lhs into its type.
- Full: every char in
lhsis a keyword char (full-id). - End: the last char is a keyword char, at least one other is not (end-id).
- None: the last char is a non-keyword char (non-id).
Variants§
Full
All keyword chars (full-id).
End
Last char keyword, others include non-keyword (end-id).
NonKw
Last char is non-keyword (non-id).
Trait Implementations§
Source§impl Clone for AbbrevKind
impl Clone for AbbrevKind
Source§fn clone(&self) -> AbbrevKind
fn clone(&self) -> AbbrevKind
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 AbbrevKind
Source§impl Debug for AbbrevKind
impl Debug for AbbrevKind
impl Eq for AbbrevKind
Source§impl PartialEq for AbbrevKind
impl PartialEq for AbbrevKind
Source§fn eq(&self, other: &AbbrevKind) -> bool
fn eq(&self, other: &AbbrevKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AbbrevKind
Auto Trait Implementations§
impl Freeze for AbbrevKind
impl RefUnwindSafe for AbbrevKind
impl Send for AbbrevKind
impl Sync for AbbrevKind
impl Unpin for AbbrevKind
impl UnsafeUnpin for AbbrevKind
impl UnwindSafe for AbbrevKind
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