Struct fuzzcheck_mutators::Tuple1Mutator [−][src]
Fields
mutator: M
Implementations
impl<T, M> Tuple1Mutator<T, M> where
T: Clone,
M: Mutator<T>,
[src]
T: Clone,
M: Mutator<T>,
Trait Implementations
impl<T, M> Default for Tuple1Mutator<T, M> where
T: Clone,
M: Mutator<T>,
M: Default,
[src]
T: Clone,
M: Mutator<T>,
M: Default,
impl<T, M> TupleMutator<T, Tuple1<T>> for Tuple1Mutator<T, M> where
T: Clone + 'static,
M: Mutator<T>,
[src]
T: Clone + 'static,
M: Mutator<T>,
type Cache = M::Cache
type MutationStep = M::MutationStep
type ArbitraryStep = M::ArbitraryStep
type UnmutateToken = M::UnmutateToken
fn complexity<'a>(&'a self, value: &'a T, cache: &'a Self::Cache) -> f64
[src]
fn cache_from_value<'a>(&'a self, value: &'a T) -> Self::Cache
[src]
fn initial_step_from_value<'a>(&'a self, value: &'a T) -> Self::MutationStep
[src]
fn max_complexity(&self) -> f64
[src]
fn min_complexity(&self) -> 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<'a>(
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
step: &'a mut Self::MutationStep,
max_cplx: f64
) -> Option<Self::UnmutateToken>
[src]
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
step: &'a mut Self::MutationStep,
max_cplx: f64
) -> Option<Self::UnmutateToken>
fn random_mutate<'a>(
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
[src]
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
fn unmutate<'a>(
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
t: Self::UnmutateToken
)
[src]
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
t: Self::UnmutateToken
)
impl<T, U, M> TupleMutator<U, Wrapped<T>> for Tuple1Mutator<T, M> where
U: TupleStructure<Wrapped<T>>,
T: Clone + 'static,
M: Mutator<T>,
[src]
U: TupleStructure<Wrapped<T>>,
T: Clone + 'static,
M: Mutator<T>,
type Cache = M::Cache
type MutationStep = M::MutationStep
type ArbitraryStep = M::ArbitraryStep
type UnmutateToken = M::UnmutateToken
fn complexity<'a>(&'a self, value: &'a T, cache: &'a Self::Cache) -> f64
[src]
fn cache_from_value<'a>(&'a self, value: &'a T) -> Self::Cache
[src]
fn initial_step_from_value<'a>(&'a self, value: &'a T) -> Self::MutationStep
[src]
fn max_complexity(&self) -> f64
[src]
fn min_complexity(&self) -> f64
[src]
fn ordered_arbitrary(
&self,
step: &mut Self::ArbitraryStep,
max_cplx: f64
) -> Option<(U, Self::Cache)>
[src]
&self,
step: &mut Self::ArbitraryStep,
max_cplx: f64
) -> Option<(U, Self::Cache)>
fn random_arbitrary(&self, max_cplx: f64) -> (U, Self::Cache)
[src]
fn ordered_mutate<'a>(
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
step: &'a mut Self::MutationStep,
max_cplx: f64
) -> Option<Self::UnmutateToken>
[src]
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
step: &'a mut Self::MutationStep,
max_cplx: f64
) -> Option<Self::UnmutateToken>
fn random_mutate<'a>(
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
[src]
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
fn unmutate<'a>(
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
t: Self::UnmutateToken
)
[src]
&'a self,
value: &'a mut T,
cache: &'a mut Self::Cache,
t: Self::UnmutateToken
)
Auto Trait Implementations
impl<T, M> RefUnwindSafe for Tuple1Mutator<T, M> where
M: RefUnwindSafe,
T: RefUnwindSafe,
[src]
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, M> Send for Tuple1Mutator<T, M> where
M: Send,
T: Send,
[src]
M: Send,
T: Send,
impl<T, M> Sync for Tuple1Mutator<T, M> where
M: Sync,
T: Sync,
[src]
M: Sync,
T: Sync,
impl<T, M> Unpin for Tuple1Mutator<T, M> where
M: Unpin,
T: Unpin,
[src]
M: Unpin,
T: Unpin,
impl<T, M> UnwindSafe for Tuple1Mutator<T, M> where
M: UnwindSafe,
T: UnwindSafe,
[src]
M: UnwindSafe,
T: UnwindSafe,
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>,