Trait lain::traits::Mutatable [−][src]
pub trait Mutatable { type RangeType: Debug + Bounded + Default; fn mutate<R: Rng>(
&mut self,
mutator: &mut Mutator<R>,
constraints: Option<&Constraints<Self::RangeType>>
); }
Expand description
A data structure that can be mutated in-place from an existing data structure, possibly generated by NewFuzzed.
Associated Types
Required methods
Implementations on Foreign Types
impl<T> Mutatable for Vec<T> where
T: Mutatable + NewFuzzed + SerializedSize + Clone,
<T as Mutatable>::RangeType: Clone,
[src]
impl<T> Mutatable for Vec<T> where
T: Mutatable + NewFuzzed + SerializedSize + Clone,
<T as Mutatable>::RangeType: Clone,
[src]impl<T> Mutatable for Vec<T> where
T: Mutatable + NewFuzzed + SerializedSize,
<T as Mutatable>::RangeType: Clone,
[src]
impl<T> Mutatable for Vec<T> where
T: Mutatable + NewFuzzed + SerializedSize,
<T as Mutatable>::RangeType: Clone,
[src]impl<T> Mutatable for Option<T> where
T: Mutatable + NewFuzzed<RangeType = <T as Mutatable>::RangeType>,
[src]
impl<T> Mutatable for Option<T> where
T: Mutatable + NewFuzzed<RangeType = <T as Mutatable>::RangeType>,
[src]impl<T> Mutatable for Box<T> where
T: Mutatable + NewFuzzed<RangeType = <T as Mutatable>::RangeType>,
[src]
impl<T> Mutatable for Box<T> where
T: Mutatable + NewFuzzed<RangeType = <T as Mutatable>::RangeType>,
[src]Implementors
impl Mutatable for AsciiString
[src]
impl Mutatable for AsciiString
[src]impl Mutatable for Utf8String
[src]
impl Mutatable for Utf8String
[src]impl<T, I> Mutatable for UnsafeEnum<T, I> where
T: ToPrimitive<Output = I>,
I: BitXor<Output = I> + NumCast + Bounded + Copy + Debug + Default + DangerousNumber<I> + Display + WrappingAdd + WrappingSub,
[src]
impl<T, I> Mutatable for UnsafeEnum<T, I> where
T: ToPrimitive<Output = I>,
I: BitXor<Output = I> + NumCast + Bounded + Copy + Debug + Default + DangerousNumber<I> + Display + WrappingAdd + WrappingSub,
[src]