pub struct SourceExtraction { /* private fields */ }Expand description
One extraction with independent source provenance and transient binding proof.
Implementations§
Source§impl SourceExtraction
impl SourceExtraction
Sourcepub const fn graph(&self) -> &SymbolGraph
pub const fn graph(&self) -> &SymbolGraph
Borrow the compatible graph without losing its associated evidence.
Sourcepub const fn semantics(&self) -> &SourceSemanticFacts
pub const fn semantics(&self) -> &SourceSemanticFacts
Borrow the binding decisions paired with this graph.
Sourcepub fn into_parts(self) -> (ParserKind, SymbolGraph, SourceSemanticFacts)
pub fn into_parts(self) -> (ParserKind, SymbolGraph, SourceSemanticFacts)
Move the independently owned provenance, graph and semantic evidence together.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceExtraction
impl RefUnwindSafe for SourceExtraction
impl Send for SourceExtraction
impl Sync for SourceExtraction
impl Unpin for SourceExtraction
impl UnsafeUnpin for SourceExtraction
impl UnwindSafe for SourceExtraction
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