Enum languageserver_types::MarkupKind [−][src]
pub enum MarkupKind {
PlainText,
Markdown,
}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
PlainTextPlain text is supported as a content format
MarkdownMarkdown is supported as a content format
Trait Implementations
impl Debug for MarkupKind[src]
impl Debug for MarkupKindfn 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 MarkupKind[src]
impl Eq for MarkupKindimpl PartialEq for MarkupKind[src]
impl PartialEq for MarkupKindfn eq(&self, other: &MarkupKind) -> bool[src]
fn eq(&self, other: &MarkupKind) -> 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 Clone for MarkupKind[src]
impl Clone for MarkupKindfn clone(&self) -> MarkupKind[src]
fn clone(&self) -> MarkupKindReturns 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
Auto Trait Implementations
impl Send for MarkupKind
impl Send for MarkupKindimpl Sync for MarkupKind
impl Sync for MarkupKind