Struct fuzzcheck_mutators::UnitMutator [−][src]
Implementations
impl<T> UnitMutator<T> where
T: Clone,
[src]
T: Clone,
Trait Implementations
impl<T: Clone> Clone for UnitMutator<T> where
T: Clone,
[src]
T: Clone,
fn clone(&self) -> UnitMutator<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Default for UnitMutator<T> where
T: Default + Clone,
[src]
T: Default + Clone,
impl<T> Mutator<T> for UnitMutator<T> where
T: Clone + 'static,
[src]
T: Clone + 'static,
type Cache = ()
type MutationStep = ()
type ArbitraryStep = bool
type 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<T> RefUnwindSafe for UnitMutator<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for UnitMutator<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for UnitMutator<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for UnitMutator<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for UnitMutator<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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,