pub(crate) trait BitMutator:
Sized
+ Copy
+ Debug {
// Required method
fn flip_random_bit(
self,
size: usize,
test_runner: &mut TestRunner,
) -> Option<Self>;
}
Expand description
Mutator that changes the current value by flipping a random bit.
Required Methods§
fn flip_random_bit( 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.