pub trait IntoTupleList {
type Output: List;
// Required method
fn into_tuple_list(self) -> Self::Output;
}Expand description
Converts tuples into a List representation where () is empty and (H, T) is a cons cell.
Required Associated Types§
Required Methods§
Sourcefn into_tuple_list(self) -> Self::Output
fn into_tuple_list(self) -> Self::Output
Convert into a List where (H, T) models a cons cell.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".