Trait ApplyUnary

Source
pub trait ApplyUnary<T> {
    type Output;

    // Required methods
    fn apply(&self, x: T) -> Self::Output;
    fn apply_once(self, x: T) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn apply(&self, x: T) -> Self::Output

Source

fn apply_once(self, x: T) -> Self::Output

Implementors§