Trait libafl::bolts::tuples::Prepend

source ·
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§

source

type PreprendResult

The Resulting TupleList, of an Prepend::prepend() call, including the prepended entry.

Required Methods§

source

fn prepend(self, value: T) -> (T, Self::PreprendResult)

Prepend a value to this tuple, returning a new tuple with prepended value.

Implementors§

source§

impl<Tail, T> Prepend<T> for Tail

Implement prepend for tuple list.

§

type PreprendResult = Tail