#[non_exhaustive]pub struct DependencyExtraction { /* private fields */ }Expand description
The deterministic result of Rust dependency extraction before graph-edge merging.
Implementations§
Source§impl DependencyExtraction
impl DependencyExtraction
Sourcepub fn references(&self) -> &[DependencyReference]
pub fn references(&self) -> &[DependencyReference]
Returns extracted dependency syntax in deterministic order.
Sourcepub fn diagnostics(&self) -> &[ExtractionDiagnostic]
pub fn diagnostics(&self) -> &[ExtractionDiagnostic]
Returns non-fatal extraction diagnostics in deterministic order.
Sourcepub fn iter(&self) -> Iter<'_, DependencyReference>
pub fn iter(&self) -> Iter<'_, DependencyReference>
Iterates over extracted dependency references.
Trait Implementations§
Source§impl Clone for DependencyExtraction
impl Clone for DependencyExtraction
Source§fn clone(&self) -> DependencyExtraction
fn clone(&self) -> DependencyExtraction
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 DependencyExtraction
impl Debug for DependencyExtraction
Source§impl Default for DependencyExtraction
impl Default for DependencyExtraction
Source§fn default() -> DependencyExtraction
fn default() -> DependencyExtraction
Returns the “default value” for a type. Read more
Source§impl PartialEq for DependencyExtraction
impl PartialEq for DependencyExtraction
impl Eq for DependencyExtraction
impl StructuralPartialEq for DependencyExtraction
Auto Trait Implementations§
impl Freeze for DependencyExtraction
impl RefUnwindSafe for DependencyExtraction
impl Send for DependencyExtraction
impl Sync for DependencyExtraction
impl Unpin for DependencyExtraction
impl UnwindSafe for DependencyExtraction
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.