Struct fuzzcheck_traits::RecurToMutator [−][src]
Trait Implementations
impl<M> From<&'_ Weak<M>> for RecurToMutator<M>
[src]
impl<T, M> Mutator<T> for RecurToMutator<M> where
M: Mutator<T>,
T: Clone,
[src]
M: Mutator<T>,
T: Clone,
type Cache = <M as Mutator<T>>::Cache
type MutationStep = <M as Mutator<T>>::MutationStep
type ArbitraryStep = RecursingArbitraryStep<<M as Mutator<T>>::ArbitraryStep>
type UnmutateToken = <M as Mutator<T>>::UnmutateToken
fn cache_from_value(&self, value: &T) -> Self::Cache
[src]
fn initial_step_from_value(&self, value: &T) -> Self::MutationStep
[src]
fn max_complexity(&self) -> f64
[src]
fn min_complexity(&self) -> f64
[src]
fn complexity(&self, value: &T, cache: &Self::Cache) -> f64
[src]
fn ordered_arbitrary(
&self,
step: &mut Self::ArbitraryStep,
max_cplx: f64
) -> Option<(T, Self::Cache)>
[src]
&self,
step: &mut Self::ArbitraryStep,
max_cplx: f64
) -> Option<(T, Self::Cache)>
fn random_arbitrary(&self, max_cplx: f64) -> (T, Self::Cache)
[src]
fn ordered_mutate(
&self,
value: &mut T,
cache: &mut Self::Cache,
step: &mut Self::MutationStep,
max_cplx: f64
) -> Option<Self::UnmutateToken>
[src]
&self,
value: &mut T,
cache: &mut Self::Cache,
step: &mut Self::MutationStep,
max_cplx: f64
) -> Option<Self::UnmutateToken>
fn random_mutate(
&self,
value: &mut T,
cache: &mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
[src]
&self,
value: &mut T,
cache: &mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
fn unmutate(
&self,
value: &mut T,
cache: &mut Self::Cache,
t: Self::UnmutateToken
)
[src]
&self,
value: &mut T,
cache: &mut Self::Cache,
t: Self::UnmutateToken
)
Auto Trait Implementations
impl<M> !RefUnwindSafe for RecurToMutator<M>
[src]
impl<M> !Send for RecurToMutator<M>
[src]
impl<M> !Sync for RecurToMutator<M>
[src]
impl<M> Unpin for RecurToMutator<M>
[src]
impl<M> !UnwindSafe for RecurToMutator<M>
[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>,