#[repr(i32)]pub enum DocumentHighlightKind {
Text = 1,
Read = 2,
Write = 3,
}Expand description
This enum changes the way highlights are rendered.
Variants§
Text = 1
A textual symbol.
Read = 2
A immutable symbol, like a constant variable.
Write = 3
A mutable symbol, like a variable.
Trait Implementations§
Source§impl Debug for DocumentHighlightKind
impl Debug for DocumentHighlightKind
Auto Trait Implementations§
impl Freeze for DocumentHighlightKind
impl RefUnwindSafe for DocumentHighlightKind
impl Send for DocumentHighlightKind
impl Sync for DocumentHighlightKind
impl Unpin for DocumentHighlightKind
impl UnwindSafe for DocumentHighlightKind
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