[][src]Enum lain::mutator::MutatorMode

pub enum MutatorMode {
    WalkingBitFlip {
        bits: u8,
        current_idx: u8,
    },
    InterestingValues {
        current_idx: u8,
    },
    Havoc,
}

Represents the mode of the mutator

Variants

WalkingBitFlip

Performs a linear bit flip from index 0 up to the max bit index, flipping current_idx number of bits

Fields of WalkingBitFlip

bits: u8current_idx: u8
InterestingValues

Selects interesting values for the current data type

Fields of InterestingValues

current_idx: u8
Havoc

All-out random mutation

Trait Implementations

impl Clone for MutatorMode[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<MutatorMode> for MutatorMode[src]

impl Copy for MutatorMode[src]

impl Debug for MutatorMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Fixup for T[src]

impl<T> VariableSizeObject for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,