pub trait Replace<T> {
// Required method
fn expand(&self, m: &Match<T>) -> Vec<Item<T>>;
}
Expand description
Takes a single match and output its replacement.
pub trait Replace<T> {
// Required method
fn expand(&self, m: &Match<T>) -> Vec<Item<T>>;
}
Takes a single match and output its replacement.