[−][src]Struct rustc_query_system::dep_graph::SerializedDepGraph
Data for use when recompiling the current crate.
Fields
nodes: IndexVec<SerializedDepNodeIndex, DepNode<K>>The set of all DepNodes in the graph
fingerprints: IndexVec<SerializedDepNodeIndex, Fingerprint>The set of all Fingerprints in the graph. Each Fingerprint corresponds to the DepNode at the same index in the nodes vector.
edge_list_indices: IndexVec<SerializedDepNodeIndex, (u32, u32)>For each DepNode, stores the list of edges originating from that DepNode. Encoded as a [start, end) pair indexing into edge_list_data, which holds the actual DepNodeIndices of the target nodes.
edge_list_data: Vec<SerializedDepNodeIndex>A flattened list of all edge targets in the graph. Edge sources are implicit in edge_list_indices.
Implementations
impl<K: DepKind> SerializedDepGraph<K>[src]
pub fn edge_targets_from(
&self,
source: SerializedDepNodeIndex
) -> &[SerializedDepNodeIndex][src]
&self,
source: SerializedDepNodeIndex
) -> &[SerializedDepNodeIndex]
Trait Implementations
impl<K: Debug + DepKind> Debug for SerializedDepGraph<K>[src]
impl<K: DepKind, __D: Decoder> Decodable<__D> for SerializedDepGraph<K> where
K: Decodable<__D>, [src]
K: Decodable<__D>,
impl<K: DepKind> Default for SerializedDepGraph<K>[src]
impl<K: DepKind, __E: Encoder> Encodable<__E> for SerializedDepGraph<K> where
K: Encodable<__E>, [src]
K: Encodable<__E>,
Auto Trait Implementations
impl<K> RefUnwindSafe for SerializedDepGraph<K> where
K: RefUnwindSafe,
K: RefUnwindSafe,
impl<K> Send for SerializedDepGraph<K> where
K: Send,
K: Send,
impl<K> Sync for SerializedDepGraph<K> where
K: Sync,
K: Sync,
impl<K> Unpin for SerializedDepGraph<K> where
K: Unpin,
K: Unpin,
impl<K> UnwindSafe for SerializedDepGraph<K> where
K: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,