pub trait Apply<Rhs> {
type Output;
// Required method
fn apply(&self, rhs: Rhs) -> Self::Output;
}Expand description
Apply defines an interface for objects capable of applying the given function onto
itself or its elements to produce some output.