pub struct LspContextEnrichment {
pub file_path: PathBuf,
pub diagnostics: WorkspaceDiagnostics,
pub definitions: Vec<SymbolLocation>,
pub references: Vec<SymbolLocation>,
}Fields§
§file_path: PathBuf§diagnostics: WorkspaceDiagnostics§definitions: Vec<SymbolLocation>§references: Vec<SymbolLocation>Implementations§
Trait Implementations§
Source§impl Clone for LspContextEnrichment
impl Clone for LspContextEnrichment
Source§fn clone(&self) -> LspContextEnrichment
fn clone(&self) -> LspContextEnrichment
Returns a duplicate of the value. Read more
1.0.0 · 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 LspContextEnrichment
impl Debug for LspContextEnrichment
Source§impl Default for LspContextEnrichment
impl Default for LspContextEnrichment
Source§fn default() -> LspContextEnrichment
fn default() -> LspContextEnrichment
Returns the “default value” for a type. Read more
Source§impl PartialEq for LspContextEnrichment
impl PartialEq for LspContextEnrichment
impl StructuralPartialEq for LspContextEnrichment
Auto Trait Implementations§
impl Freeze for LspContextEnrichment
impl !RefUnwindSafe for LspContextEnrichment
impl Send for LspContextEnrichment
impl Sync for LspContextEnrichment
impl Unpin for LspContextEnrichment
impl UnsafeUnpin for LspContextEnrichment
impl UnwindSafe for LspContextEnrichment
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