Enum lsp_types::InlayHintTooltip
source · pub enum InlayHintTooltip {
String(String),
MarkupContent(MarkupContent),
}
Variants§
String(String)
MarkupContent(MarkupContent)
Trait Implementations§
source§impl Clone for InlayHintTooltip
impl Clone for InlayHintTooltip
source§fn clone(&self) -> InlayHintTooltip
fn clone(&self) -> InlayHintTooltip
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InlayHintTooltip
impl Debug for InlayHintTooltip
source§impl<'de> Deserialize<'de> for InlayHintTooltip
impl<'de> Deserialize<'de> for InlayHintTooltip
source§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
source§impl From<MarkupContent> for InlayHintTooltip
impl From<MarkupContent> for InlayHintTooltip
source§fn from(from: MarkupContent) -> Self
fn from(from: MarkupContent) -> Self
Converts to this type from the input type.