Struct rustc::dep_graph::DepGraph [] [src]

pub struct DepGraph {
    // some fields omitted
}
Unstable (rustc_private)

Methods

impl DepGraph
[src]

fn new(enabled: bool) -> DepGraph

fn enabled(&self) -> bool

Unstable (rustc_private)

True if we are actually building a dep-graph. If this returns false, then the other methods on this DepGraph will have no net effect.

fn query(&self) -> DepGraphQuery<DefId>

fn in_ignore<'graph>(&'graph self) -> IgnoreTask<'graph>

fn in_task<'graph>(&'graph self, key: DepNode<DefId>) -> DepTask<'graph>

fn with_ignore<OP, R>(&self, op: OP) -> R where OP: FnOnce() -> R

fn with_task<OP, R>(&self, key: DepNode<DefId>, op: OP) -> R where OP: FnOnce() -> R

fn read(&self, v: DepNode<DefId>)

fn write(&self, v: DepNode<DefId>)

Trait Implementations

Derived Implementations

impl Clone for DepGraph
[src]

fn clone(&self) -> DepGraph

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