Trait rustc_query_system::dep_graph::DepKind[][src]

pub trait DepKind: Copy + Debug + Eq + Hash + Send + Encodable<FileEncoder> + 'static {
    const NULL: Self;

    fn debug_node(node: &DepNode<Self>, f: &mut Formatter<'_>) -> Result;
fn with_deps<OP, R>(deps: Option<&Lock<TaskDeps<Self>>>, op: OP) -> R
    where
        OP: FnOnce() -> R
;
fn read_deps<OP>(op: OP)
    where
        OP: for<'a> FnOnce(Option<&'a Lock<TaskDeps<Self>>>)
; }
Expand description

Describe the different families of dependency nodes.

Associated Constants

Required methods

Implementation of std::fmt::Debug for DepNode.

Execute the operation with provided dependencies.

Access dependencies from current implicit context.

Implementors