pub trait TupleListwhere
Self: Sized,{
type Tuple: Tuple<TupleList = Self>;
const TUPLE_LIST_SIZE: usize;
// Required method
fn into_tuple(self) -> Self::Tuple;
}Expand description
Trait providing conversion from tuple list into tuple.
Generic trait implemented for all tuple lists (up to 12 elements).
§Examples
Required Associated Constants§
Sourceconst TUPLE_LIST_SIZE: usize
const TUPLE_LIST_SIZE: usize
Constant representing tuple list size.
Required Associated Types§
Required Methods§
Sourcefn into_tuple(self) -> Self::Tuple
fn into_tuple(self) -> Self::Tuple
Converts tuple list into tuple.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.