Trait Selector1
memselect
pub trait Selector1<A> { type Output; fn select(&mut self, arg1: A) -> Self::Output; }
A selector accepting a single parameter.
type Output
The type of the computed value.
fn select(&mut self, arg1: A) -> Self::Output
Computes the value based on argument arg1.
impl<A1, R, T: FnMut(A1) -> R> Selector1<A1> for T type Output = R;