pub struct Hover {
pub range: Span,
pub kind: HoverKind,
pub label: String,
pub detail: Option<String>,
pub documentation: Option<String>,
}Expand description
Plain-text semantic information for one source token.
Fields§
§range: SpanExact source range described by this hover.
kind: HoverKindSemantic category.
label: StringShort user-visible label.
detail: Option<String>Optional plain-text secondary label.
documentation: Option<String>Optional plain-text documentation.
Trait Implementations§
impl Eq for Hover
impl StructuralPartialEq for Hover
Auto Trait Implementations§
impl Freeze for Hover
impl RefUnwindSafe for Hover
impl Send for Hover
impl Sync for Hover
impl Unpin for Hover
impl UnsafeUnpin 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