MCPcopy Index your code
hub / github.com/RustPython/RustPython / index

Method index

crates/codegen/src/ir.rs:78–80  ·  view source on GitHub ↗
(&self, idx: BlockIdx)

Source from the content-addressed store, hash-verified

76 type Output = Block;
77
78 fn index(&self, idx: BlockIdx) -> &Block {
79 &self[idx.idx()]
80 }
81}
82
83impl ops::IndexMut<BlockIdx> for [Block] {

Callers

nothing calls this directly

Calls 1

idxMethod · 0.80

Tested by

no test coverage detected