Trait cargo::util::Dependency [] [src]

pub trait Dependency: Hash + Eq + Clone {
    type Context;
    fn dependencies(&self, cx: &Self::Context) -> Vec<Self>;
}

A trait for discovering the dependencies of a piece of data.

Associated Types

type Context

Required Methods

fn dependencies(&self, cx: &Self::Context) -> Vec<Self>

Implementors