pub struct Wrapped<T: 'static> { /* private fields */ }
Trait Implementations§
Source§impl<T, U, M> TupleMutator<U, Wrapped<T>> for Tuple1Mutator<T, M>
impl<T, U, M> TupleMutator<U, Wrapped<T>> for Tuple1Mutator<T, M>
type Cache = <M as Mutator<T>>::Cache
type MutationStep = <M as Mutator<T>>::MutationStep
type ArbitraryStep = <M as Mutator<T>>::ArbitraryStep
type UnmutateToken = <M as Mutator<T>>::UnmutateToken
fn complexity<'a>(&'a self, value: &'a T, cache: &'a Self::Cache) -> f64
fn cache_from_value<'a>(&'a self, value: &'a T) -> Self::Cache
fn initial_step_from_value<'a>(&'a self, value: &'a T) -> Self::MutationStep
fn max_complexity(&self) -> f64
fn min_complexity(&self) -> f64
fn ordered_arbitrary( &self, step: &mut Self::ArbitraryStep, max_cplx: f64, ) -> Option<(U, Self::Cache)>
fn random_arbitrary(&self, max_cplx: f64) -> (U, Self::Cache)
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>
fn random_mutate<'a>( &'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, )
Auto Trait Implementations§
impl<T> Freeze for Wrapped<T>
impl<T> RefUnwindSafe for Wrapped<T>where
T: RefUnwindSafe,
impl<T> Send for Wrapped<T>where
T: Send,
impl<T> Sync for Wrapped<T>where
T: Sync,
impl<T> Unpin for Wrapped<T>where
T: Unpin,
impl<T> UnwindSafe for Wrapped<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more