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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)