Enum languageserver_types::DocumentHighlightKind [−][src]
pub enum DocumentHighlightKind {
Text,
Read,
Write,
}A document highlight kind.
Variants
TextA textual occurrance.
ReadRead-access of a symbol, like reading a variable.
WriteWrite-access of a symbol, like writing to a variable.
Trait Implementations
impl Debug for DocumentHighlightKind[src]
impl Debug for DocumentHighlightKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for DocumentHighlightKind[src]
impl Eq for DocumentHighlightKindimpl PartialEq for DocumentHighlightKind[src]
impl PartialEq for DocumentHighlightKindfn eq(&self, other: &DocumentHighlightKind) -> bool[src]
fn eq(&self, other: &DocumentHighlightKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for DocumentHighlightKind[src]
impl Copy for DocumentHighlightKindimpl Clone for DocumentHighlightKind[src]
impl Clone for DocumentHighlightKindfn clone(&self) -> DocumentHighlightKind[src]
fn clone(&self) -> DocumentHighlightKindReturns 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 DocumentHighlightKindfn 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 DocumentHighlightKindAuto Trait Implementations
impl Send for DocumentHighlightKind
impl Send for DocumentHighlightKindimpl Sync for DocumentHighlightKind
impl Sync for DocumentHighlightKind