pub struct DependencyGraph<'a> { /* private fields */ }
Expand description

Directed graph capturing dependencies between modules

Implementations

Construct a dependency graph from a set of modules. Panics if modules contains duplicates or is not closed under the depedency relation

Return an iterator over the modules in self in topological order–modules with least deps first. Fails with an error if self contains circular dependencies

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.