Trait DefaultMutator

Source
pub trait DefaultMutator: Clone + 'static {
    type Mutator: Mutator<Self>;

    // Required method
    fn default_mutator() -> Self::Mutator;
}
Expand description

A trait for giving a type a default Mutator

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DefaultMutator for bool

Source§

impl DefaultMutator for char

Source§

impl DefaultMutator for i8

Source§

impl DefaultMutator for i16

Source§

impl DefaultMutator for i32

Source§

impl DefaultMutator for i64

Source§

impl DefaultMutator for isize

Source§

impl DefaultMutator for u8

Source§

impl DefaultMutator for u16

Source§

impl DefaultMutator for u32

Source§

impl DefaultMutator for u64

Source§

impl DefaultMutator for ()

Source§

impl DefaultMutator for usize

Source§

impl DefaultMutator for String

Source§

impl DefaultMutator for RangeFull

Source§

impl<Idx> DefaultMutator for Range<Idx>
where Idx: DefaultMutator + 'static,

Source§

impl<Idx> DefaultMutator for RangeFrom<Idx>
where Idx: DefaultMutator + 'static,

Source§

impl<Idx> DefaultMutator for RangeTo<Idx>
where Idx: DefaultMutator + 'static,

Source§

impl<Idx> DefaultMutator for RangeToInclusive<Idx>
where Idx: DefaultMutator + 'static,

Source§

impl<M, T, const N: usize> DefaultMutator for [T; N]
where T: 'static + DefaultMutator<Mutator = M> + Clone, M: Mutator<T>,

Source§

impl<T0> DefaultMutator for (T0,)
where T0: DefaultMutator + 'static,

Source§

impl<T0, T1> DefaultMutator for (T0, T1)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static,

Source§

impl<T0, T1, T2> DefaultMutator for (T0, T1, T2)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static,

Source§

impl<T0, T1, T2, T3> DefaultMutator for (T0, T1, T2, T3)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static, T3: DefaultMutator + 'static,

Source§

impl<T0, T1, T2, T3, T4> DefaultMutator for (T0, T1, T2, T3, T4)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static, T3: DefaultMutator + 'static, T4: DefaultMutator + 'static,

Source§

impl<T0, T1, T2, T3, T4, T5> DefaultMutator for (T0, T1, T2, T3, T4, T5)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static, T3: DefaultMutator + 'static, T4: DefaultMutator + 'static, T5: DefaultMutator + 'static,

Source§

impl<T0, T1, T2, T3, T4, T5, T6> DefaultMutator for (T0, T1, T2, T3, T4, T5, T6)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static, T3: DefaultMutator + 'static, T4: DefaultMutator + 'static, T5: DefaultMutator + 'static, T6: DefaultMutator + 'static,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> DefaultMutator for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static, T3: DefaultMutator + 'static, T4: DefaultMutator + 'static, T5: DefaultMutator + 'static, T6: DefaultMutator + 'static, T7: DefaultMutator + 'static,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> DefaultMutator for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static, T3: DefaultMutator + 'static, T4: DefaultMutator + 'static, T5: DefaultMutator + 'static, T6: DefaultMutator + 'static, T7: DefaultMutator + 'static, T8: DefaultMutator + 'static,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> DefaultMutator for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T0: DefaultMutator + 'static, T1: DefaultMutator + 'static, T2: DefaultMutator + 'static, T3: DefaultMutator + 'static, T4: DefaultMutator + 'static, T5: DefaultMutator + 'static, T6: DefaultMutator + 'static, T7: DefaultMutator + 'static, T8: DefaultMutator + 'static, T9: DefaultMutator + 'static,

Source§

impl<T> DefaultMutator for Cow<'static, T>
where T: DefaultMutator + Clone + 'static,

Source§

type Mutator = impl Mutator<Cow<'static, T>>

Source§

fn default_mutator() -> Self::Mutator

Source§

impl<T> DefaultMutator for Bound<T>
where T: DefaultMutator + 'static,

Source§

impl<T> DefaultMutator for Option<T>
where T: DefaultMutator + 'static,

Source§

impl<T> DefaultMutator for Box<T>
where T: DefaultMutator + 'static,

Source§

impl<T> DefaultMutator for Rc<T>
where T: DefaultMutator + 'static,

Source§

impl<T> DefaultMutator for Arc<T>
where T: DefaultMutator + 'static,

Source§

impl<T> DefaultMutator for Vec<T>
where T: DefaultMutator + 'static,

Source§

impl<T> DefaultMutator for PhantomData<T>
where T: 'static,

Source§

impl<T> DefaultMutator for RangeInclusive<T>
where T: 'static + Clone + DefaultMutator, T::Mutator: Clone,

Source§

impl<T, E> DefaultMutator for Result<T, E>
where T: DefaultMutator + 'static, E: DefaultMutator + 'static,

Implementors§