pub trait Transformation: Send + Sync {
// Required methods
fn transform<'a>(&self, input: &'a str) -> Cow<'a, str>;
fn name(&self) -> &'static str;
}Expand description
Trait for transformations.
pub trait Transformation: Send + Sync {
// Required methods
fn transform<'a>(&self, input: &'a str) -> Cow<'a, str>;
fn name(&self) -> &'static str;
}Trait for transformations.