pub trait Prepend<T> {
type PreprendResult;
fn prepend(self, value: T) -> (T, Self::PreprendResult);
}
Expand description
Allows prepending of values to a tuple
Required Associated Types
type PreprendResult
type PreprendResult
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry.
Required Methods
fn prepend(self, value: T) -> (T, Self::PreprendResult)
fn prepend(self, value: T) -> (T, Self::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.