Trait rustc_middle::dep_graph::dep_node::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
Required methods
fn create_stable_hashing_context(&self) -> Self::StableHashingContext
fn create_stable_hashing_context(&self) -> Self::StableHashingContext
Create a hashing context for hashing new results.
fn register_reused_dep_node(&self, dep_node: &DepNode<Self::DepKind>)
fn profiler(&self) -> &SelfProfilerRef
fn profiler(&self) -> &SelfProfilerRef
Access the profiler.