Trait rustc_query_system::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
Required methods
fn create_stable_hashing_context(&self) -> Self::StableHashingContext
fn create_stable_hashing_context(&self) -> Self::StableHashingContextCreate 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) -> &SelfProfilerRefAccess the profiler.