Struct cargo::ops::Unit [] [src]

pub struct Unit<'a> {
    pub pkg: &'a Package,
    pub target: &'a Target,
    pub profile: &'a Profile,
    pub kind: Kind,
}

Fields

pkg
target
profile
kind

Trait Implementations

Derived Implementations

impl<'a> Hash for Unit<'a>

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<'a> PartialEq for Unit<'a>

fn eq(&self, __arg_0: &Unit<'a>) -> bool

fn ne(&self, __arg_0: &Unit<'a>) -> bool

impl<'a> Eq for Unit<'a>

impl<'a> Copy for Unit<'a>

impl<'a> Clone for Unit<'a>

fn clone(&self) -> Unit<'a>

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