pub trait Append<T> {
    type AppendResult;

    // Required method
    fn append(self, value: T) -> Self::AppendResult;
}
Expand description

Append to a tuple

Required Associated Types§

source

type AppendResult

The Resulting TupleList, of an Append::append() call, including the appended entry.

Required Methods§

source

fn append(self, value: T) -> Self::AppendResult

Append Value and return the tuple

Implementations on Foreign Types§

source§

impl<Head, Tail, T> Append<T> for (Head, Tail)
where Tail: Append<T>,

Implement append for non-empty tuple list.

§

type AppendResult = (Head, <Tail as Append<T>>::AppendResult)

source§

fn append(self, value: T) -> Self::AppendResult

source§

impl<T> Append<T> for ()

Implement append for an empty tuple list.

§

type AppendResult = (T, ())

source§

fn append(self, value: T) -> Self::AppendResult

Implementors§