Trait rustc_middle::dep_graph::DepContext[][src]

pub trait DepContext: Copy {
    type DepKind: DepKind;
    type StableHashingContext;
    fn create_stable_hashing_context(&self) -> Self::StableHashingContext;
fn dep_graph(&self) -> &DepGraph<Self::DepKind>;
fn register_reused_dep_node(&self, dep_node: &DepNode<Self::DepKind>);
fn profiler(&self) -> &SelfProfilerRef;
fn sess(&self) -> &Session; }

Associated Types

type DepKind: DepKind[src]

type StableHashingContext[src]

Loading content...

Required methods

fn create_stable_hashing_context(&self) -> Self::StableHashingContext[src]

Expand description

Create a hashing context for hashing new results.

fn dep_graph(&self) -> &DepGraph<Self::DepKind>[src]

Expand description

Access the DepGraph.

fn register_reused_dep_node(&self, dep_node: &DepNode<Self::DepKind>)[src]

fn profiler(&self) -> &SelfProfilerRef[src]

Expand description

Access the profiler.

fn sess(&self) -> &Session[src]

Expand description

Access the compiler session.

Loading content...

Implementors

impl<'tcx> DepContext for TyCtxt<'tcx>[src]

Loading content...