Trait BytecodeIteratorExt

Source
pub trait BytecodeIteratorExt {
    // Required method
    fn iter_opcodes(&self) -> BytecodeIterator<'_> ;
}
Expand description

Extension trait for Bytecode to provide iteration capabilities.

Required Methods§

Source

fn iter_opcodes(&self) -> BytecodeIterator<'_>

Returns an iterator over the opcodes in this bytecode, skipping immediates.

Implementors§