pub struct ByteAddMutator;
Expand description
Adds or subtracts a random value up to ARITH_MAX
to a [<$size>
] at a random place in the Vec
, in random byte order.
Implementations
sourceimpl ByteAddMutator
impl ByteAddMutator
Trait Implementations
sourceimpl Debug for ByteAddMutator
impl Debug for ByteAddMutator
sourceimpl Default for ByteAddMutator
impl Default for ByteAddMutator
sourcefn default() -> ByteAddMutator
fn default() -> ByteAddMutator
Returns the “default value” for a type. Read more
sourceimpl<I, S> Mutator<I, S> for ByteAddMutator where
I: Input + HasBytesVec,
S: HasRand,
impl<I, S> Mutator<I, S> for ByteAddMutator where
I: Input + HasBytesVec,
S: HasRand,
Auto Trait Implementations
impl RefUnwindSafe for ByteAddMutator
impl Send for ByteAddMutator
impl Sync for ByteAddMutator
impl Unpin for ByteAddMutator
impl UnwindSafe for ByteAddMutator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.