Enum lsp_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
sourceimpl Clone for MarkupKind
impl Clone for MarkupKind
sourcefn clone(&self) -> MarkupKind
fn clone(&self) -> MarkupKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MarkupKind
impl Debug for MarkupKind
sourceimpl<'de> Deserialize<'de> for MarkupKind
impl<'de> Deserialize<'de> for MarkupKind
sourcefn 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
sourceimpl PartialEq<MarkupKind> for MarkupKind
impl PartialEq<MarkupKind> for MarkupKind
sourcefn eq(&self, other: &MarkupKind) -> bool
fn eq(&self, other: &MarkupKind) -> bool
sourceimpl Serialize for MarkupKind
impl Serialize for MarkupKind
impl Eq for MarkupKind
impl StructuralEq for MarkupKind
impl StructuralPartialEq for MarkupKind
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more