Struct rustc_query_system::dep_graph::prev::PreviousDepGraph [−][src]
pub struct PreviousDepGraph<K: DepKind> { data: SerializedDepGraph<K>, index: FxHashMap<DepNode<K>, SerializedDepNodeIndex>, }
Fields
data: SerializedDepGraph<K>index: FxHashMap<DepNode<K>, SerializedDepNodeIndex>Implementations
impl<K: DepKind> PreviousDepGraph<K>[src]
impl<K: DepKind> PreviousDepGraph<K>[src]pub fn new(data: SerializedDepGraph<K>) -> PreviousDepGraph<K>[src]
pub fn edge_targets_from(
&self,
dep_node_index: SerializedDepNodeIndex
) -> &[SerializedDepNodeIndex][src]
&self,
dep_node_index: SerializedDepNodeIndex
) -> &[SerializedDepNodeIndex]
pub fn index_to_node(
&self,
dep_node_index: SerializedDepNodeIndex
) -> DepNode<K>[src]
&self,
dep_node_index: SerializedDepNodeIndex
) -> DepNode<K>
pub fn node_to_index_opt(
&self,
dep_node: &DepNode<K>
) -> Option<SerializedDepNodeIndex>[src]
&self,
dep_node: &DepNode<K>
) -> Option<SerializedDepNodeIndex>
pub fn fingerprint_of(&self, dep_node: &DepNode<K>) -> Option<Fingerprint>[src]
pub fn fingerprint_by_index(
&self,
dep_node_index: SerializedDepNodeIndex
) -> Fingerprint[src]
&self,
dep_node_index: SerializedDepNodeIndex
) -> Fingerprint
pub fn node_count(&self) -> usize[src]
Trait Implementations
impl<K: Debug + DepKind> Debug for PreviousDepGraph<K>[src]
impl<K: Debug + DepKind> Debug for PreviousDepGraph<K>[src]Auto Trait Implementations
impl<K> RefUnwindSafe for PreviousDepGraph<K> where
K: RefUnwindSafe,
K: RefUnwindSafe,
impl<K> Send for PreviousDepGraph<K>
impl<K> Sync for PreviousDepGraph<K> where
K: Sync,
K: Sync,
impl<K> Unpin for PreviousDepGraph<K> where
K: Unpin,
K: Unpin,
impl<K> UnwindSafe for PreviousDepGraph<K> where
K: UnwindSafe,
K: UnwindSafe,