[][src]Trait tuple_utils::Prepend

pub trait Prepend<T> {
    type Output;
    fn prepend(self, _: T) -> Self::Output;
}

Helper trait to allow Perpending of tuples

Associated Types

type Output

Loading content...

Required methods

fn prepend(self, _: T) -> Self::Output

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

Loading content...

Implementations on Foreign Types

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

type Output = (T,)

impl<T0, T> Prepend<T> for (T0,)[src]

type Output = (T, T0)

impl<T0, T1, T> Prepend<T> for (T0, T1)[src]

type Output = (T, T0, T1)

impl<T0, T1, T2, T> Prepend<T> for (T0, T1, T2)[src]

type Output = (T, T0, T1, T2)

impl<T0, T1, T2, T3, T> Prepend<T> for (T0, T1, T2, T3)[src]

type Output = (T, T0, T1, T2, T3)

impl<T0, T1, T2, T3, T4, T> Prepend<T> for (T0, T1, T2, T3, T4)[src]

type Output = (T, T0, T1, T2, T3, T4)

impl<T0, T1, T2, T3, T4, T5, T> Prepend<T> for (T0, T1, T2, T3, T4, T5)[src]

type Output = (T, T0, T1, T2, T3, T4, T5)

impl<T0, T1, T2, T3, T4, T5, T6, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T> Prepend<T> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)[src]

type Output = (T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

Loading content...

Implementors

Loading content...