Struct cargo::core::resolver::Resolve
[−]
[src]
pub struct Resolve { /* fields omitted */ }
Represents a fully resolved package dependency graph. Each node in the graph is a package and edges represent dependencies between packages.
Each instance of Resolve
also understands the full set of features used
for each package.
Methods
impl Resolve
[src]
fn merge_from(&mut self, previous: &Resolve) -> CargoResult<()>
fn iter(&self) -> Nodes<PackageId>
fn deps(&self, pkg: &PackageId) -> Deps
fn deps_not_replaced(&self, pkg: &PackageId) -> DepsNotReplaced
fn replacement(&self, pkg: &PackageId) -> Option<&PackageId>
fn replacements(&self) -> &HashMap<PackageId, PackageId>
fn features(&self, pkg: &PackageId) -> Option<&HashSet<String>>
fn query(&self, spec: &str) -> CargoResult<&PackageId>
Trait Implementations
impl PartialEq for Resolve
[src]
fn eq(&self, __arg_0: &Resolve) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Resolve) -> bool
This method tests for !=
.
impl Eq for Resolve
[src]
impl Clone for Resolve
[src]
fn clone(&self) -> Resolve
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more