GaussianNoiseMutator

Trait GaussianNoiseMutator 

Source
pub(crate) trait GaussianNoiseMutator:
    Sized
    + Copy
    + Debug {
    // Required method
    fn mutate_with_gaussian_noise(
        self,
        size: usize,
        test_runner: &mut TestRunner,
    ) -> Option<Self>;
}
Expand description

Mutator that changes the current value of an uint or int by applying gaussian noise.

Required Methods§

Source

fn mutate_with_gaussian_noise( self, size: usize, test_runner: &mut TestRunner, ) -> Option<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl GaussianNoiseMutator for I256

Source§

fn mutate_with_gaussian_noise( self, size: usize, test_runner: &mut TestRunner, ) -> Option<Self>

Source§

impl GaussianNoiseMutator for U256

Source§

fn mutate_with_gaussian_noise( self, size: usize, test_runner: &mut TestRunner, ) -> Option<Self>

Implementors§