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

pub trait DepKind: Copy + Debug + Eq + Ord + Hash {
    pub const NULL: Self;

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

Describe the different families of dependency nodes.

Associated Constants

pub const NULL: Self[src]

Loading content...

Required methods

pub fn is_eval_always(&self) -> bool[src]

Return whether this kind always require evaluation.

pub fn has_params(&self) -> bool[src]

Return whether this kind requires additional parameters to be executed.

pub fn debug_node(node: &DepNode<Self>, f: &mut Formatter<'_>) -> Result[src]

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

pub fn with_deps<OP, R>(deps: Option<&Lock<TaskDeps<Self>>>, op: OP) -> R where
    OP: FnOnce() -> R, 
[src]

Execute the operation with provided dependencies.

pub fn read_deps<OP>(op: OP) where
    OP: for<'a> FnOnce(Option<&'a Lock<TaskDeps<Self>>>), 
[src]

Access dependencies from current implicit context.

pub fn can_reconstruct_query_key(&self) -> bool[src]

Loading content...

Implementors

Loading content...