Trait frunk_core::traits::IntoReverse [−][src]
Trait that allows for reversing a given data structure.
Implemented for HLists.
This functionality is also provided as an inherent method. However, you may find this trait useful in generic contexts.
Associated Types
Loading content...Required methods
fn into_reverse(self) -> Self::Output
[src]
Reverses a given data structure.
Implementors
impl IntoReverse for HNil
[src]
type Output = HNil
fn into_reverse(self) -> Self::Output
[src]
impl<H, Tail> IntoReverse for HCons<H, Tail> where
Tail: IntoReverse,
<Tail as IntoReverse>::Output: Add<HCons<H, HNil>>,
[src]
Tail: IntoReverse,
<Tail as IntoReverse>::Output: Add<HCons<H, HNil>>,