pub struct SemanticSnapshot {
pub document: DocumentAst,
pub diagnostics: Vec<Diagnostic>,
pub symbols: SymbolIndex,
}Fields§
§document: DocumentAst§diagnostics: Vec<Diagnostic>§symbols: SymbolIndexTrait Implementations§
Source§impl Clone for SemanticSnapshot
impl Clone for SemanticSnapshot
Source§fn clone(&self) -> SemanticSnapshot
fn clone(&self) -> SemanticSnapshot
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 moreAuto Trait Implementations§
impl Freeze for SemanticSnapshot
impl RefUnwindSafe for SemanticSnapshot
impl Send for SemanticSnapshot
impl Sync for SemanticSnapshot
impl Unpin for SemanticSnapshot
impl UnsafeUnpin for SemanticSnapshot
impl UnwindSafe for SemanticSnapshot
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