Struct fuzzcheck_mutators::I32Mutator [−][src]
Trait Implementations
impl Default for I32Mutator
[src]
impl Mutator<i32> for I32Mutator
[src]
type Cache = ()
type MutationStep = u64
type ArbitraryStep = u64
type UnmutateToken = i32
fn cache_from_value(&self, _value: &i32) -> Self::Cache
[src]
Compute the cache for the given value
fn initial_step_from_value(&self, _value: &i32) -> Self::MutationStep
[src]
Compute the initial mutation step for the given value
fn max_complexity(&self) -> f64
[src]
The maximum complexity of an input of this type
fn min_complexity(&self) -> f64
[src]
The minimum complexity of an input of this type
fn complexity(&self, _value: &i32, _cache: &Self::Cache) -> f64
[src]
fn ordered_arbitrary(
&self,
step: &mut Self::ArbitraryStep,
_max_cplx: f64
) -> Option<(i32, Self::Cache)>
[src]
&self,
step: &mut Self::ArbitraryStep,
_max_cplx: f64
) -> Option<(i32, Self::Cache)>
fn random_arbitrary(&self, _max_cplx: f64) -> (i32, Self::Cache)
[src]
fn ordered_mutate(
&self,
value: &mut i32,
_cache: &mut Self::Cache,
step: &mut Self::MutationStep,
_max_cplx: f64
) -> Option<Self::UnmutateToken>
[src]
&self,
value: &mut i32,
_cache: &mut Self::Cache,
step: &mut Self::MutationStep,
_max_cplx: f64
) -> Option<Self::UnmutateToken>
fn random_mutate(
&self,
value: &mut i32,
_cache: &mut Self::Cache,
_max_cplx: f64
) -> Self::UnmutateToken
[src]
&self,
value: &mut i32,
_cache: &mut Self::Cache,
_max_cplx: f64
) -> Self::UnmutateToken
fn unmutate(
&self,
value: &mut i32,
_cache: &mut Self::Cache,
t: Self::UnmutateToken
)
[src]
&self,
value: &mut i32,
_cache: &mut Self::Cache,
t: Self::UnmutateToken
)
Auto Trait Implementations
impl !RefUnwindSafe for I32Mutator
[src]
impl Send for I32Mutator
[src]
impl !Sync for I32Mutator
[src]
impl Unpin for I32Mutator
[src]
impl UnwindSafe for I32Mutator
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,