pub struct HoverResultDTO {
pub Contents: Vec<IMarkdownStringDTO>,
pub Range: Option<RangeDTO>,
}Expand description
A serializable struct that represents the content to be displayed in a
hover tooltip, analogous to vscode.Hover.
Fields§
§Contents: Vec<IMarkdownStringDTO>The contents of the hover, which can be one or more markdown strings.
Range: Option<RangeDTO>An optional range to which this hover applies. When not specified, the range of the word at the request position is used.
Trait Implementations§
Source§impl Clone for HoverResultDTO
impl Clone for HoverResultDTO
Source§fn clone(&self) -> HoverResultDTO
fn clone(&self) -> HoverResultDTO
Returns a duplicate 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 HoverResultDTO
impl Debug for HoverResultDTO
Source§impl<'de> Deserialize<'de> for HoverResultDTO
impl<'de> Deserialize<'de> for HoverResultDTO
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 HoverResultDTO
impl RefUnwindSafe for HoverResultDTO
impl Send for HoverResultDTO
impl Sync for HoverResultDTO
impl Unpin for HoverResultDTO
impl UnwindSafe for HoverResultDTO
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