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

Method index_mut

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

Source from the content-addressed store, hash-verified

436
437impl std::ops::IndexMut<VertexId> for AliveGraph {
438 fn index_mut(&mut self, id: VertexId) -> &mut Self::Output {
439 &mut self.vertices[id.index()]
440 }
441}
442
443// GRAPH STATISTICS

Callers

nothing calls this directly

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected