Enum lsp_types::MarkupKind [−][src]
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
Plain text is supported as a content format
Markdown is supported as a content format
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for MarkupKind
impl Send for MarkupKind
impl Sync for MarkupKind
impl Unpin for MarkupKind
impl UnwindSafe for MarkupKind
Blanket Implementations
Mutably borrows from an owned value. Read more