pub trait Apply<Rhs> { type Output; // Required method fn apply(&self, rhs: Rhs) -> Self::Output; }
The Apply trait defines a generic, transformative operation that can be applied to an object of type Rhs.
Apply
Rhs
apply the transformation defined by self onto the object rhs
self
rhs