pub trait Transform<Rhs> {
type Output;
// Required method
fn transform(&self, rhs: Rhs) -> Self::Output;
}Expand description
The Transform trait establishes a common interface for objects that can be transformed
with respect to a given transformation, input, etc. to produce a new output.