Trait TupleApply
Other items ingrafix_toolbox::uses::math
pub trait TupleApply<RA, A, R>: Sized { type AR; fn apply<F: Fn(A, A) -> R>(self, r: RA, op: F) -> Self::AR; }
type AR
fn apply<F: Fn(A, A) -> R>(self, r: RA, op: F) -> Self::AR
impl<RA, A, R> TupleApply<RA, A, R> for (A, A) where RA: TupleArg2<A>,
type AR = (R, R)
impl<RA, A, R> TupleApply<RA, A, R> for (A, A, A) where RA: TupleArg3<A>,
type AR = (R, R, R)
impl<RA, A, R> TupleApply<RA, A, R> for (A, A, A, A) where RA: TupleArg4<A>,
type AR = (R, R, R, R)