MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / index_mut

Method index_mut

atomic-core/src/output/alive/graph.rs:415–417  ·  view source on GitHub ↗
(&mut self, id: VertexId)

Source from the content-addressed store, hash-verified

413
414impl std::ops::IndexMut<VertexId> for AliveGraph {
415 fn index_mut(&mut self, id: VertexId) -> &mut Self::Output {
416 &mut self.vertices[id.index()]
417 }
418}
419
420// GRAPH STATISTICS

Callers

nothing calls this directly

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected