pub trait ApplyOnce<Rhs> {
type Output;
// Required method
fn apply_once(self, rhs: Rhs) -> Self::Output;
}Expand description
The ApplyOnce trait defines an interface for objects capable of consuming themselves
to apply the given function onto themselves or their elements to produce some output.