Enum cargo::util::Freshness [] [src]

pub enum Freshness {
    Fresh,
    Dirty,
}

Indication of the freshness of a package.

A fresh package does not necessarily need to be rebuilt (unless a dependency was also rebuilt), and a dirty package must always be rebuilt.

Variants

FreshDirty

Methods

impl Freshness
[src]

fn combine(&self, other: Freshness) -> Freshness

Trait Implementations

impl Copy for Freshness
[src]

impl Clone for Freshness
[src]

fn clone(&self) -> Freshness

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

impl Debug for Freshness
[src]

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

Formats the value using the given formatter.

impl Eq for Freshness
[src]

impl PartialEq for Freshness
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.