pub struct Hover {
pub contents: Vec<MarkedString>,
pub range: Option<Range>,
}Expand description
A hover represents additional information for a symbol.
Fields§
§contents: Vec<MarkedString>The information to display.
range: Option<Range>This is used to highlight the specific range in the editor.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hover
impl RefUnwindSafe for Hover
impl Send for Hover
impl Sync for Hover
impl Unpin for Hover
impl UnwindSafe for Hover
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