Enum lsp_types::MarkedString [−][src]
pub enum MarkedString {
String(String),
LanguageString(LanguageString),
}Expand description
The marked string is rendered:
- as markdown if it is represented as a string
- as code block of the given langauge if it is represented as a pair of a language and a value
The pair of a language and a value is an equivalent to markdown:
${language} ${value}
Variants
String(String)LanguageString(LanguageString)Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MarkedStringimpl Send for MarkedStringimpl Sync for MarkedStringimpl Unpin for MarkedStringimpl UnwindSafe for MarkedStringBlanket Implementations
Mutably borrows from an owned value. Read more