Crate mutagen [] [src]

Structs

Mutagen

A global helper struct to keep a mutation count

Traits

Selector

A helper trait to select a value from a same-typed tuple

Functions

and

use instead of &&

eq

use instead of ==

ge

use instead of >= (or, switching operand order <=)

get

get the current mutation count

gt

use instead of > (or, switching operand order <)

ne

use instead of !=

next

increment the mutation count

now

check if the argument matches the current mutation count

or

use instead of ||

select

insert the original or an alternate value, e.g. MU.select(&[2, 0], 42)

t

use with if expressions, e.g. if MU.t(..) { .. } else { .. }

w

use with while expressions, e.g. while Mu.w(..) { .. }