pub trait Apply<T> {
type Output;
// Required method
fn apply(&self, t: &T) -> Self::Output;
}Expand description
Trait for applying a transform to a type.
pub trait Apply<T> {
type Output;
// Required method
fn apply(&self, t: &T) -> Self::Output;
}Trait for applying a transform to a type.