[−][src]Trait bolero_generator::one_of::OneValueOfGenerator
Associated Types
type Output
Required methods
fn generate_one_value_of<D: Driver>(
&self,
_driver: &mut D
) -> Option<Self::Output>
&self,
_driver: &mut D
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
Implementations on Foreign Types
impl<'_, T: Clone> OneValueOfGenerator for &'_ [T]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 1]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 2]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 3]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 4]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 5]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 6]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 7]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 8]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 9]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 10]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 11]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 12]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 13]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 14]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 15]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 16]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 17]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 18]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 19]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 20]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 21]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 22]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 23]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 24]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 25]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 26]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 27]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 28]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 29]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 30]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 31]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 32]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
impl<T: Clone> OneValueOfGenerator for [T; 33]
[src]
type Output = T
fn generate_one_value_of<D_: Driver>(
&self,
driver: &mut D_
) -> Option<Self::Output>
[src]
&self,
driver: &mut D_
) -> Option<Self::Output>
fn mutate_one_value_of<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>