Struct fuzzcheck_mutators::TupleMutatorWrapper [−][src]
Fields
mutator: M
Implementations
impl<T, M, TupleKind> TupleMutatorWrapper<T, M, TupleKind> where
T: Clone + 'static,
TupleKind: RefTypes,
T: TupleStructure<TupleKind>,
M: TupleMutator<T, TupleKind>,
[src]
T: Clone + 'static,
TupleKind: RefTypes,
T: TupleStructure<TupleKind>,
M: TupleMutator<T, TupleKind>,
Trait Implementations
impl<T, M, TupleKind> Default for TupleMutatorWrapper<T, M, TupleKind> where
T: Clone + 'static,
TupleKind: RefTypes,
T: TupleStructure<TupleKind>,
M: TupleMutator<T, TupleKind>,
M: Default,
[src]
T: Clone + 'static,
TupleKind: RefTypes,
T: TupleStructure<TupleKind>,
M: TupleMutator<T, TupleKind>,
M: Default,
impl<T, M, TupleKind> Mutator<T> for TupleMutatorWrapper<T, M, TupleKind> where
T: Clone + 'static,
TupleKind: RefTypes,
T: TupleStructure<TupleKind>,
M: TupleMutator<T, TupleKind>,
[src]
T: Clone + 'static,
TupleKind: RefTypes,
T: TupleStructure<TupleKind>,
M: TupleMutator<T, TupleKind>,
type Cache = M::Cache
type MutationStep = M::MutationStep
type ArbitraryStep = M::ArbitraryStep
type UnmutateToken = M::UnmutateToken
fn complexity(&self, value: &T, cache: &Self::Cache) -> f64
[src]
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 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<T, M, TupleKind> RefUnwindSafe for TupleMutatorWrapper<T, M, TupleKind> where
M: RefUnwindSafe,
T: RefUnwindSafe,
TupleKind: RefUnwindSafe,
[src]
M: RefUnwindSafe,
T: RefUnwindSafe,
TupleKind: RefUnwindSafe,
impl<T, M, TupleKind> Send for TupleMutatorWrapper<T, M, TupleKind> where
M: Send,
T: Send,
TupleKind: Send,
[src]
M: Send,
T: Send,
TupleKind: Send,
impl<T, M, TupleKind> Sync for TupleMutatorWrapper<T, M, TupleKind> where
M: Sync,
T: Sync,
TupleKind: Sync,
[src]
M: Sync,
T: Sync,
TupleKind: Sync,
impl<T, M, TupleKind> Unpin for TupleMutatorWrapper<T, M, TupleKind> where
M: Unpin,
T: Unpin,
TupleKind: Unpin,
[src]
M: Unpin,
T: Unpin,
TupleKind: Unpin,
impl<T, M, TupleKind> UnwindSafe for TupleMutatorWrapper<T, M, TupleKind> where
M: UnwindSafe,
T: UnwindSafe,
TupleKind: UnwindSafe,
[src]
M: UnwindSafe,
T: UnwindSafe,
TupleKind: 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>,