Trait tuple_utils::Prepend

source ·
pub trait Prepend<T> {
    type Output;

    fn prepend(self, _: T) -> Self::Output;
}
Expand description

Helper trait to allow Perpending of tuples

Required Associated Types

Required Methods

Append T onto the start of the tuple returning a new tuple with all the elements from shifted over one row and T in the first slot

Implementations on Foreign Types

Implementors