Enum CmdKind
pub 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, ...)
Trait Implementations
impl Clone for CmdKind
fn clone(&self) -> CmdKind
impl Copy for CmdKind
impl Debug for CmdKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for CmdKind
impl PartialEq for CmdKind
fn eq(&self, other: &CmdKind) -> bool
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 UnsafeUnpin for CmdKind
impl UnwindSafe for CmdKind
Blanket Implementations
impl<T> Any for CmdKind
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for CmdKind
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for CmdKind
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for CmdKind
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for CmdKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for CmdKind
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for CmdKind
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for CmdKind
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for CmdKind
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>