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.
source§impl From<String> for InlayHintTooltip
impl From<String> for InlayHintTooltip
Auto Trait Implementations§
impl Freeze for InlayHintTooltip
impl RefUnwindSafe for InlayHintTooltip
impl Send for InlayHintTooltip
impl Sync for InlayHintTooltip
impl Unpin for InlayHintTooltip
impl UnwindSafe for InlayHintTooltip
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more