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
PlainText
Plain text is supported as a content format
Markdown
Markdown is supported as a content format
Trait Implementations
impl Debug for MarkupKind
[src]
impl Debug for MarkupKind
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 MarkupKind
[src]
impl Eq for MarkupKind
impl PartialEq for MarkupKind
[src]
impl PartialEq for MarkupKind
fn eq(&self, other: &MarkupKind) -> bool
[src]
fn eq(&self, other: &MarkupKind) -> 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 Clone for MarkupKind
[src]
impl Clone for MarkupKind
fn clone(&self) -> MarkupKind
[src]
fn clone(&self) -> MarkupKind
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
Auto Trait Implementations
impl Send for MarkupKind
impl Send for MarkupKind
impl Sync for MarkupKind
impl Sync for MarkupKind