Struct rustc_query_system::dep_graph::serialized::EncoderState [−][src]
struct EncoderState<K: DepKind> {
encoder: FileEncoder,
total_node_count: usize,
total_edge_count: usize,
result: FileEncodeResult,
stats: Option<FxHashMap<K, Stat<K>>>,
}
Fields
encoder: FileEncoder
total_node_count: usize
total_edge_count: usize
result: FileEncodeResult
stats: Option<FxHashMap<K, Stat<K>>>
Implementations
fn encode_node(
&mut self,
node: &NodeInfo<K>,
record_graph: &Option<Lock<DepGraphQuery<K>>>
) -> DepNodeIndex
Auto Trait Implementations
impl<K> !RefUnwindSafe for EncoderState<K>
impl<K> Send for EncoderState<K>
impl<K> Sync for EncoderState<K> where
K: Sync,
impl<K> Unpin for EncoderState<K> where
K: Unpin,
impl<K> !UnwindSafe for EncoderState<K>
Blanket Implementations
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: 104 bytes