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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
MoveCursor: 0 bytesOther: 0 bytesForcedRefresh: 0 bytes