#[non_exhaustive]pub struct GraphExtraction { /* private fields */ }Expand description
A deterministic dependency graph together with non-fatal extraction diagnostics.
Implementations§
Source§impl GraphExtraction
impl GraphExtraction
Sourcepub fn diagnostics(&self) -> &[ExtractionDiagnostic]
pub fn diagnostics(&self) -> &[ExtractionDiagnostic]
Returns non-fatal parse and resolution diagnostics in deterministic order.
Sourcepub fn into_graph(self) -> Graph
pub fn into_graph(self) -> Graph
Consumes the extraction result and returns its graph.
Trait Implementations§
Source§impl Clone for GraphExtraction
impl Clone for GraphExtraction
Source§fn clone(&self) -> GraphExtraction
fn clone(&self) -> GraphExtraction
Returns a copy 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 GraphExtraction
impl Debug for GraphExtraction
Source§impl Default for GraphExtraction
impl Default for GraphExtraction
Source§fn default() -> GraphExtraction
fn default() -> GraphExtraction
Returns the “default value” for a type. Read more
Source§impl PartialEq for GraphExtraction
impl PartialEq for GraphExtraction
impl Eq for GraphExtraction
impl StructuralPartialEq for GraphExtraction
Auto Trait Implementations§
impl Freeze for GraphExtraction
impl RefUnwindSafe for GraphExtraction
impl Send for GraphExtraction
impl Sync for GraphExtraction
impl Unpin for GraphExtraction
impl UnwindSafe for GraphExtraction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.