pub enum DocumentHighlightKind {
Text,
Read,
Write,
}
Expand description
A document highlight kind.
Variants§
Text
A textual occurrance.
Read
Read-access of a symbol, like reading a variable.
Write
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