Trait libafl::bolts::tuples::Prepend [−][src]
pub trait Prepend<T> { type PreprendResult; fn prepend(self, value: T) -> (T, Self::PreprendResult); }
Expand description
Allows prepending of values to a tuple
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.