Struct rustc::dep_graph::WorkProductId [] [src]

pub struct WorkProductId(pub String);
🔬 This is a nightly-only experimental API. (rustc_private)

A "work product" corresponds to a .o (or other) file that we save in between runs. These ids do not have a DefId but rather some independent path or string that persists between runs without the need to be mapped or unmapped. (This ensures we can serialize them even in the absence of a tcx.)

Trait Implementations

impl Clone for WorkProductId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for WorkProductId
[src]

Formats the value using the given formatter.

impl PartialEq for WorkProductId
[src]

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

This method tests for !=.

impl Eq for WorkProductId
[src]

impl PartialOrd for WorkProductId
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for WorkProductId
[src]

This method returns an Ordering between self and other. Read more

impl Hash for WorkProductId
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Encodable for WorkProductId
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for WorkProductId
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io