Trait bolero_generator::bounded::BoundedValue
source · pub trait BoundedValue<B = Self>: Sized {
// Required method
fn gen_bounded<D: Driver>(
driver: &mut D,
min: Bound<&B>,
max: Bound<&B>
) -> Option<Self>;
// Provided method
fn mutate_bounded<D: Driver>(
&mut self,
driver: &mut D,
min: Bound<&B>,
max: Bound<&B>
) -> Option<()> { ... }
}