Trait frunk_core::traits::IntoReverse[][src]

pub trait IntoReverse {
    type Output;
    fn into_reverse(self) -> Self::Output;
}

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.

Loading content...

Implementors

impl IntoReverse for HNil[src]

type Output = HNil

impl<H, Tail> IntoReverse for HCons<H, Tail> where
    Tail: IntoReverse,
    <Tail as IntoReverse>::Output: Add<HCons<H, HNil>>, 
[src]

type Output = <<Tail as IntoReverse>::Output as Add<HCons<H, HNil>>>::Output

Loading content...