Apply

Trait Apply 

Source
pub trait Apply<Rhs> {
    type Output;

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

Apply is a composable binary operator generally used to apply some object or function onto the caller to produce some output.

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl<A, B, S, D, F> Apply<F> for ArrayBase<S, D, A>
where A: Clone, D: Dimension, S: Data<Elem = A>, F: Fn(A) -> B,

Source§

type Output = ArrayBase<OwnedRepr<B>, D>

Source§

fn apply(&self, f: F) -> Self::Output

Implementors§