Struct cargo::ops::Layout [] [src]

pub struct Layout {
    // some fields omitted
}

Methods

impl Layout

fn new(config: &Config, pkg: &Package, triple: Option<&str>, dest: &str) -> Layout

fn at(root: PathBuf) -> Layout

fn prepare(&mut self) -> Result<()>

fn dest<'a>(&'a self) -> &'a Path

fn deps<'a>(&'a self) -> &'a Path

fn examples<'a>(&'a self) -> &'a Path

fn fingerprint(&self, package: &Package) -> PathBuf

fn build(&self, package: &Package) -> PathBuf

fn build_out(&self, package: &Package) -> PathBuf