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