Struct fasteval2::slab::CompileSlab
source · pub struct CompileSlab { /* private fields */ }
Expand description
CompileSlab
is where compile()
results are stored, located at Slab.cs
.
Implementations§
source§impl CompileSlab
impl CompileSlab
sourcepub fn get_instr(&self, instr_i: InstructionI) -> &Instruction
pub fn get_instr(&self, instr_i: InstructionI) -> &Instruction
Returns a reference to the Instruction
located at instr_i
within the `CompileSlab.instrs’.
If instr_i
is out-of-bounds, a reference to a default Instruction
is returned.