Trait legion::storage::ConsAppend[][src]

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[src]

Result of append

Loading content...

Required methods

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

Prepend to runtime cons value

Loading content...

Implementations on Foreign Types

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

type Output = (T, Self)

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

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

Loading content...

Implementors

Loading content...