[][src]Trait bolero_generator::one_of::OneValueOfGenerator

pub trait OneValueOfGenerator {
    type Output;
    fn generate_one_value_of<D: Driver>(
        &self,
        _driver: &mut D
    ) -> Option<Self::Output>;
fn mutate_one_value_of<D: Driver>(
        &self,
        driver: &mut D,
        value: &mut Self::Output
    ) -> Option<()>; }

Associated Types

type Output

Loading content...

Required methods

fn generate_one_value_of<D: Driver>(
    &self,
    _driver: &mut D
) -> Option<Self::Output>

fn mutate_one_value_of<D: Driver>(
    &self,
    driver: &mut D,
    value: &mut Self::Output
) -> Option<()>

Loading content...

Implementations on Foreign Types

impl<'_, T: Clone> OneValueOfGenerator for &'_ [T][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 1][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 2][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 3][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 4][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 5][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 6][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 7][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 8][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 9][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 10][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 11][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 12][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 13][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 14][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 15][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 16][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 17][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 18][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 19][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 20][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 21][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 22][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 23][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 24][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 25][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 26][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 27][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 28][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 29][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 30][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 31][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 32][src]

type Output = T

impl<T: Clone> OneValueOfGenerator for [T; 33][src]

type Output = T

Loading content...

Implementors

Loading content...