pub trait Inject {
// Required methods
fn inject(&mut self);
fn remove_injection(&mut self);
}
Expand description
Trait specifically designed to extend the Vecvec.inject()
when you have a vector
of structs that implements Inject.
pub trait Inject {
// Required methods
fn inject(&mut self);
fn remove_injection(&mut self);
}
Trait specifically designed to extend the Vecvec.inject()
when you have a vector
of structs that implements Inject.