Trait InjectAt

Source
pub trait InjectAt<'a> {
    // Required method
    fn inject_at(
        &mut self,
        idx: usize,
        mode: InstrumentationMode,
        instr: Operator<'a>,
    );
}
Expand description

Defines Injection Behaviour at a given location

Required Methods§

Source

fn inject_at( &mut self, idx: usize, mode: InstrumentationMode, instr: Operator<'a>, )

Inject an Instruction at a given Location with a given InstrumentationMode

Implementors§

Source§

impl<'a> InjectAt<'a> for ModuleIterator<'_, 'a>

Source§

impl<'b> InjectAt<'b> for FunctionModifier<'_, 'b>

Source§

impl<'b> InjectAt<'b> for ComponentIterator<'_, 'b>