pub trait Tuple: Sized {
type HList: HList<Tuple = Self>;
// Required method
fn hlist(self) -> Self::HList;
// Provided method
fn combine<T>(
self,
other: T,
) -> <<<Self as Tuple>::HList as Combine<<T as Tuple>::HList>>::Output as HList>::Tuple
where Self: Sized,
T: Tuple,
Self::HList: Combine<T::HList> { ... }
}
Required Associated Types§
Required Methods§
Provided Methods§
fn combine<T>( self, other: T, ) -> <<<Self as Tuple>::HList as Combine<<T as Tuple>::HList>>::Output as HList>::Tuple
Object Safety§
This trait is not object safe.