pub struct LspMarkupContent {
pub kind: String,
pub value: String,
}Expand description
Markup content for hover/completions.
Fields§
§kind: StringKind of markup.
value: StringMarkup value.
Implementations§
Trait Implementations§
Source§impl Clone for LspMarkupContent
impl Clone for LspMarkupContent
Source§fn clone(&self) -> LspMarkupContent
fn clone(&self) -> LspMarkupContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LspMarkupContent
impl Debug for LspMarkupContent
Source§impl<'de> Deserialize<'de> for LspMarkupContent
impl<'de> Deserialize<'de> for LspMarkupContent
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
Auto Trait Implementations§
impl Freeze for LspMarkupContent
impl RefUnwindSafe for LspMarkupContent
impl Send for LspMarkupContent
impl Sync for LspMarkupContent
impl Unpin for LspMarkupContent
impl UnsafeUnpin for LspMarkupContent
impl UnwindSafe for LspMarkupContent
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