pub trait InstrRead {
// Required method
fn read<T>(
&self,
find: impl FnMut(&Instr, (usize, InstrSeqId)) -> T,
) -> Result<Vec<T>>;
}Expand description
Trait for reading instructions sequentially in a local function without modifying them.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.