pub struct Dependency<T> { /* private fields */ }
Expand description
Wraps a dependency and tracks the hashed value each time it’s resolved. This
allows the resolver to know if a dependency is ‘dirty’ from the perspective
of the Dependee.
Formats the value using the given formatter.
Read more
You’re probably looking for
resolve_root. This is
recursively called on each node when a graph is being resolved.
Read more
Pass a
Visitor through this node, resolve the latest version of all
dependencies, reset the visitor and return this node’s output.
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.