pub struct NamedGraph<Id> {
pub module: Id,
pub reachable: DepSet,
/* private fields */
}Fields§
§module: Id§reachable: DepSetImplementations§
Source§impl<Id> NamedGraph<Id>
impl<Id> NamedGraph<Id>
Source§impl<Id> NamedGraph<Id>
impl<Id> NamedGraph<Id>
List only shared entries that have parents in module entries. This will collect nodes that module entries imports from shared entries.
Calculate shared entries between modules. Returns a vector of SharedEntries, each containing a list of module names and shared dependencies. Shared dependencies are those that are reachable from multiple modules.
Trait Implementations§
Source§impl<Id: Clone> Clone for NamedGraph<Id>
impl<Id: Clone> Clone for NamedGraph<Id>
Source§fn clone(&self) -> NamedGraph<Id>
fn clone(&self) -> NamedGraph<Id>
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<Id> Freeze for NamedGraph<Id>where
Id: Freeze,
impl<Id> RefUnwindSafe for NamedGraph<Id>where
Id: RefUnwindSafe,
impl<Id> Send for NamedGraph<Id>where
Id: Send,
impl<Id> Sync for NamedGraph<Id>where
Id: Sync,
impl<Id> Unpin for NamedGraph<Id>where
Id: Unpin,
impl<Id> UnsafeUnpin for NamedGraph<Id>where
Id: UnsafeUnpin,
impl<Id> UnwindSafe for NamedGraph<Id>where
Id: UnwindSafe,
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