multiversx_sc::tuple_util

Trait NestedTupleAppend

Source
pub trait NestedTupleAppend<T> {
    type Output;

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

Allows to append at the end of a nested tuple list.

Required Associated Types§

Required Methods§

Source

fn append(self, t: T) -> Self::Output

Implementations on Foreign Types§

Source§

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

Source§

type Output = (Head, <Tail as NestedTupleAppend<T>>::Output)

Source§

fn append(self, t: T) -> Self::Output

Source§

impl<T> NestedTupleAppend<T> for ()

Source§

type Output = (T, ())

Source§

fn append(self, t: T) -> Self::Output

Implementors§