pub enum CacheKind {
Highlights,
Decorations,
Both,
}Expand description
The kind of cache that was updated.
Variants§
Highlights
Syntax highlighting cache.
Decorations
Decorations cache (diagnostics, git markers, etc.).
Both
Both highlights and decorations.
Trait Implementations§
impl Copy for CacheKind
impl Eq for CacheKind
impl StructuralPartialEq for CacheKind
Auto Trait Implementations§
impl Freeze for CacheKind
impl RefUnwindSafe for CacheKind
impl Send for CacheKind
impl Sync for CacheKind
impl Unpin for CacheKind
impl UnsafeUnpin for CacheKind
impl UnwindSafe for CacheKind
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