Trait frunk_core::traits::IntoReverse [−][src]
pub trait IntoReverse { type Output; fn into_reverse(self) -> Self::Output; }
Expand description
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
Required methods
fn into_reverse(self) -> Self::Output
fn into_reverse(self) -> Self::Output
Reverses a given data structure.
Implementors
impl<H, Tail> IntoReverse for HCons<H, Tail> where
Tail: IntoReverse,
<Tail as IntoReverse>::Output: Add<HCons<H, HNil>>,