Struct cargo::core::resolver::Resolve [] [src]

pub struct Resolve {
    // some 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 as well as what the root package is.

Methods

impl Resolve

fn copy_metadata(&mut self, other: &Resolve)

fn iter(&self) -> Nodes<PackageId>

fn root(&self) -> &PackageId

fn deps(&self, pkg: &PackageId) -> Option<Edges<PackageId>>

fn features(&self, pkg: &PackageId) -> Option<&HashSet<String>>

fn query(&self, spec: &str) -> CargoResult<&PackageId>

Trait Implementations

impl Encodable for Resolve

fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>

impl Debug for Resolve

fn fmt(&self, fmt: &mut Formatter) -> Result

Derived Implementations

impl Clone for Resolve

fn clone(&self) -> Resolve

1.0.0fn clone_from(&mut self, source: &Self)

impl Eq for Resolve

impl PartialEq for Resolve

fn eq(&self, __arg_0: &Resolve) -> bool

fn ne(&self, __arg_0: &Resolve) -> bool