Enum languageserver_types::DocumentHighlightKind
[−]
[src]
pub enum DocumentHighlightKind { Text, Read, Write, }
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
impl Debug for DocumentHighlightKind
[src]
impl Eq for DocumentHighlightKind
[src]
impl PartialEq for DocumentHighlightKind
[src]
fn eq(&self, __arg_0: &DocumentHighlightKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for DocumentHighlightKind
[src]
impl Clone for DocumentHighlightKind
[src]
fn clone(&self) -> DocumentHighlightKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'de> Deserialize<'de> for DocumentHighlightKind
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more