pub struct AlphanumericAndVariableKeywordRule<'a> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl ViKeywordRule for AlphanumericAndVariableKeywordRule<'_>
impl ViKeywordRule for AlphanumericAndVariableKeywordRule<'_>
Source§fn is_vi_keyword(&self, str: &str) -> bool
fn is_vi_keyword(&self, str: &str) -> bool
All alphanumeric characters and _ are considered valid for keywords in vi by default.
Auto Trait Implementations§
impl<'a> Freeze for AlphanumericAndVariableKeywordRule<'a>
impl<'a> RefUnwindSafe for AlphanumericAndVariableKeywordRule<'a>
impl<'a> Send for AlphanumericAndVariableKeywordRule<'a>
impl<'a> Sync for AlphanumericAndVariableKeywordRule<'a>
impl<'a> Unpin for AlphanumericAndVariableKeywordRule<'a>
impl<'a> UnwindSafe for AlphanumericAndVariableKeywordRule<'a>
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