pub struct HoverOutput {
pub schema_version: &'static str,
pub document_version: u64,
pub diagnostics: Vec<Diagnostic>,
pub hover: Option<Hover>,
}Expand description
Hover result for one caller-owned document version.
Fields§
§schema_version: &'static strPortable schema version.
document_version: u64Document version supplied by the caller.
diagnostics: Vec<Diagnostic>Ordered compiler diagnostics for the same source snapshot.
hover: Option<Hover>Resolved hover, or None when no trustworthy construct covers the position.
Trait Implementations§
Source§impl Clone for HoverOutput
impl Clone for HoverOutput
Source§fn clone(&self) -> HoverOutput
fn clone(&self) -> HoverOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HoverOutput
impl Debug for HoverOutput
impl Eq for HoverOutput
Source§impl PartialEq for HoverOutput
impl PartialEq for HoverOutput
impl StructuralPartialEq for HoverOutput
Auto Trait Implementations§
impl Freeze for HoverOutput
impl RefUnwindSafe for HoverOutput
impl Send for HoverOutput
impl Sync for HoverOutput
impl Unpin for HoverOutput
impl UnsafeUnpin for HoverOutput
impl UnwindSafe for HoverOutput
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