Function prepend

Source
pub fn prepend<U: Clone, T: Tuple>(
    new_element: U,
) -> impl Fn(T) -> T::Prepended<U>
Expand description

Adds new_element to the beginning of a tuple and returns the resulting new tuple.