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 Debug for DocumentHighlightKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for DocumentHighlightKind
[src]
impl Eq for DocumentHighlightKind
impl PartialEq for DocumentHighlightKind
[src]
impl PartialEq for DocumentHighlightKind
fn eq(&self, other: &DocumentHighlightKind) -> bool
[src]
fn eq(&self, other: &DocumentHighlightKind) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for DocumentHighlightKind
[src]
impl Copy for DocumentHighlightKind
impl Clone for DocumentHighlightKind
[src]
impl Clone for DocumentHighlightKind
fn clone(&self) -> DocumentHighlightKind
[src]
fn clone(&self) -> DocumentHighlightKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
impl<'de> Deserialize<'de> for DocumentHighlightKind
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for DocumentHighlightKind
[src]
impl Serialize for DocumentHighlightKind
Auto Trait Implementations
impl Send for DocumentHighlightKind
impl Send for DocumentHighlightKind
impl Sync for DocumentHighlightKind
impl Sync for DocumentHighlightKind