pub enum DocumentHighlightKind {
Text = 1,
Read = 2,
Write = 3,
}
Expand description
A document highlight kind.
Variants§
Text = 1
A textual occurrance.
Read = 2
Read-access of a symbol, like reading a variable.
Write = 3
Write-access of a symbol, like writing to a variable.
Trait Implementations§
Source§impl Clone for DocumentHighlightKind
impl Clone for DocumentHighlightKind
Source§fn clone(&self) -> DocumentHighlightKind
fn clone(&self) -> DocumentHighlightKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DocumentHighlightKind
impl Debug for DocumentHighlightKind
Source§impl<'de> Deserialize<'de> for DocumentHighlightKind
impl<'de> Deserialize<'de> for DocumentHighlightKind
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DocumentHighlightKind
impl PartialEq for DocumentHighlightKind
Source§impl Serialize for DocumentHighlightKind
impl Serialize for DocumentHighlightKind
impl Copy for DocumentHighlightKind
impl Eq for DocumentHighlightKind
impl StructuralPartialEq 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