Trait libafl::bolts::tuples::Prepend[][src]

pub trait Prepend<T> {
    type PreprendResult;
    #[must_use]
    fn prepend(self, value: T) -> (T, Self::PreprendResult);
}
Expand description

Allows prepending of values to a tuple

Associated Types

type PreprendResult[src]

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

Required methods

#[must_use]
fn prepend(self, value: T) -> (T, Self::PreprendResult)
[src]

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

Implementors

impl<Tail, T> Prepend<T> for Tail[src]

Implement prepend for tuple list.

type PreprendResult = Self

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