Enum languageserver_types::MarkupKind
source · pub enum MarkupKind {
PlainText,
Markdown,
}
Expand description
Describes the content type that a client supports in various
result literals like Hover
, ParameterInfo
or CompletionItem
.
Please note that MarkupKinds
must not start with a $
. This kinds
are reserved for internal usage.
Variants§
PlainText
Plain text is supported as a content format
Markdown
Markdown is supported as a content format
Trait Implementations§
source§impl Clone for MarkupKind
impl Clone for MarkupKind
source§fn clone(&self) -> MarkupKind
fn clone(&self) -> MarkupKind
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 MarkupKind
impl Debug for MarkupKind
source§impl<'de> Deserialize<'de> for MarkupKind
impl<'de> Deserialize<'de> for MarkupKind
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