Apply

Trait Apply 

Source
pub trait Apply<Rhs> {
    type Output;

    // Required method
    fn apply(&self, rhs: Rhs) -> Self::Output;
}
Expand description

The Apply trait defines a generic, transformative operation that can be applied to an object of type Rhs.

Required Associated Types§

Required Methods§

Source

fn apply(&self, rhs: Rhs) -> Self::Output

apply the transformation defined by self onto the object rhs

Implementors§