Trait itertools::misc::AppendTuple [] [src]

pub trait AppendTuple<X> {
    type Result;
    fn append(self, x: X) -> Self::Result;
}

A helper trait for (x, y, z) ++ w => (x, y, z, w), used for implementing iproduct!.

Associated Types

type Result

Resulting tuple type

Required Methods

fn append(self, x: X) -> Self::Result

“Append” value x to a tuple.

Implementors