Enum lsp2::InlayHintTooltip
pub enum InlayHintTooltip {
String(String),
MarkupContent(MarkupContent),
}
Variants§
String(String)
MarkupContent(MarkupContent)
Trait Implementations§
§impl Clone for InlayHintTooltip
impl Clone for InlayHintTooltip
§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 more§impl Debug for InlayHintTooltip
impl Debug for InlayHintTooltip
§impl<'de> Deserialize<'de> for InlayHintTooltip
impl<'de> Deserialize<'de> for InlayHintTooltip
§fn deserialize<__D>(
__deserializer: __D
) -> Result<InlayHintTooltip, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<InlayHintTooltip, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<MarkupContent> for InlayHintTooltip
impl From<MarkupContent> for InlayHintTooltip
§fn from(from: MarkupContent) -> InlayHintTooltip
fn from(from: MarkupContent) -> InlayHintTooltip
Converts to this type from the input type.
§impl From<String> for InlayHintTooltip
impl From<String> for InlayHintTooltip
§fn from(from: String) -> InlayHintTooltip
fn from(from: String) -> InlayHintTooltip
Converts to this type from the input type.
§impl Serialize for InlayHintTooltip
impl Serialize for InlayHintTooltip
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
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