pub struct HoverInfo {
pub content: String,
pub span: Option<Span>,
}Expand description
Information to display when hovering over a token.
Fields§
§content: StringMarkdown-formatted documentation string.
span: Option<Span>Span of the token the hover applies to (for range highlighting).
Trait Implementations§
impl StructuralPartialEq for HoverInfo
Auto Trait Implementations§
impl Freeze for HoverInfo
impl RefUnwindSafe for HoverInfo
impl Send for HoverInfo
impl Sync for HoverInfo
impl Unpin for HoverInfo
impl UnsafeUnpin for HoverInfo
impl UnwindSafe for HoverInfo
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