Trait multiversx_sc::tuple_util::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>,

§

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

source§

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

source§

impl<T> NestedTupleAppend<T> for ()

§

type Output = (T, ())

source§

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

Implementors§