pub enum CmdKind {
MoveCursor,
Other,
ForcedRefresh,
}
Expand description
Describe which kind of action has been triggering the call to
Highlighter
.
Variants§
MoveCursor
Cursor moved
Other
Other action
ForcedRefresh
Forced / final refresh (no auto-suggestion / hint, no matching bracket highlighted, …)
Trait Implementations§
impl Copy for CmdKind
impl Eq for CmdKind
impl StructuralPartialEq for CmdKind
Auto Trait Implementations§
impl Freeze for CmdKind
impl RefUnwindSafe for CmdKind
impl Send for CmdKind
impl Sync for CmdKind
impl Unpin for CmdKind
impl UnwindSafe for CmdKind
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more