Struct fuzzcheck_mutators::Tuple1 [−][src]
Trait Implementations
impl<T: 'static> RefTypes for Tuple1<T>
[src]
type Owned = T
type Ref = &'a T
type Mut = &'a mut T
fn get_ref_from_mut<'a>(v: &'a Self::Mut) -> Self::Ref
[src]
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: 'static> TupleStructure<Tuple1<T>> for T
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Tuple1<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for Tuple1<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for Tuple1<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for Tuple1<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for Tuple1<T> where
T: UnwindSafe,
[src]
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>,