Expand description
Trait providing conversion from tuple list into tuple.
Generic trait implemented for all tuple lists (up to 12 elements).
use crate::tuple_list::tuple_list;
use crate::tuple_list::TupleList;
let tuple_list = tuple_list!(1, false, "abc");
assert_eq!(
tuple_list.into_tuple(),
(1, false, "abc"),
);
Tuple type corresponding to given tuple list.
Constant representing tuple list size.
Converts tuple list into tuple.
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TupleList for (T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, (T9, (T10, (T11, (T12, ()))))))))))))
type Tuple = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
pub fn into_tuple(
self
) -> <(T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, (T9, (T10, (T11, (T12, ())))))))))))) as TupleList>::Tuple
impl<T1, T2, T3, T4, T5, T6, T7, T8> TupleList for (T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, ()))))))))
type Tuple = (T1, T2, T3, T4, T5, T6, T7, T8)
impl<T1, T2, T3, T4, T5, T6, T7> TupleList for (T1, (T2, (T3, (T4, (T5, (T6, (T7, ())))))))
type Tuple = (T1, T2, T3, T4, T5, T6, T7)
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> TupleList for (T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, (T9, ())))))))))
type Tuple = (T1, T2, T3, T4, T5, T6, T7, T8, T9)
impl<T1, T2, T3, T4, T5, T6> TupleList for (T1, (T2, (T3, (T4, (T5, (T6, ()))))))
type Tuple = (T1, T2, T3, T4, T5, T6)
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TupleList for (T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, (T9, (T10, (T11, ())))))))))))
type Tuple = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
pub fn into_tuple(
self
) -> <(T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, (T9, (T10, (T11, ()))))))))))) as TupleList>::Tuple
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TupleList for (T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, (T9, (T10, ()))))))))))
type Tuple = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
pub fn into_tuple(
self
) -> <(T1, (T2, (T3, (T4, (T5, (T6, (T7, (T8, (T9, (T10, ())))))))))) as TupleList>::Tuple