pub trait Inject<'a> {
// Required method
fn inject(&mut self, instr: Operator<'a>);
// Provided method
fn inject_all(&mut self, instrs: &[Operator<'a>]) -> &mut Self { ... }
}
Expand description
Defines Injection behaviour at the current location of the Iterator
Required Methods§
Provided Methods§
sourcefn inject_all(&mut self, instrs: &[Operator<'a>]) -> &mut Self
fn inject_all(&mut self, instrs: &[Operator<'a>]) -> &mut Self
Inject multiple operators at the current location
Object Safety§
This trait is not object safe.