pub struct HoverInfo {
pub markdown: String,
pub range: Range<u32>,
}Expand description
A resolved hover: the markdown to render and the word it describes.
Fields§
§markdown: StringMarkdown body (a minimal block/inline subset; richer degrades to plain text at render).
range: Range<u32>The word range the doc describes — the popup anchors here and the widget re-tests pointer containment against it for dismissal.
Trait Implementations§
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