[][src]Trait legion::cons::ConsAppend

pub trait ConsAppend<T> {
    type Output;
    fn append(self, t: T) -> Self::Output;
}

Prepend a new type into a cons list

Associated Types

type Output

Result of append

Loading content...

Required methods

fn append(self, t: T) -> Self::Output

Prepend to runtime cons value

Loading content...

Implementations on Foreign Types

impl<T> ConsAppend<T> for ()[src]

type Output = (T, ())

impl<T, A, B> ConsAppend<T> for (A, B) where
    B: ConsAppend<T>, 
[src]

type Output = (A, <B as ConsAppend<T>>::Output)

Loading content...

Implementors

Loading content...