Enum CmdKind
enum CmdKind
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, ...)
Implementations
impl Clone for CmdKind
fn clone(self: &Self) -> CmdKind
impl Copy for CmdKind
impl Debug for CmdKind
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for CmdKind
impl Freeze for CmdKind
impl PartialEq for CmdKind
fn eq(self: &Self, other: &CmdKind) -> bool
impl RefUnwindSafe for CmdKind
impl Send for CmdKind
impl StructuralPartialEq for CmdKind
impl Sync for CmdKind
impl Unpin for CmdKind
impl UnwindSafe for CmdKind
impl<T> Any for CmdKind
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for CmdKind
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for CmdKind
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for CmdKind
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for CmdKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for CmdKind
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for CmdKind
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for CmdKind
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for CmdKind
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>