Skip to main content

DepGraph

Type Alias DepGraph 

Source
pub type DepGraph = DepGraph<DepsType>;

Aliased Type§

pub struct DepGraph {
    data: Option<Arc<DepGraphData<DepsType>>>,
    virtual_dep_node_index: Arc<AtomicU32>,
}

Fields§

§data: Option<Arc<DepGraphData<DepsType>>>§virtual_dep_node_index: Arc<AtomicU32>

This field is used for assigning DepNodeIndices when running in non-incremental mode. Even in non-incremental mode we make sure that each task has a DepNodeIndex that uniquely identifies it. This unique ID is used for self-profiling.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes