Trait bolero_generator::bounded::BoundedValue
source · pub trait BoundedValue<B = Self>: 'static + 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<()> { ... }
}
Required Methods§
Provided Methods§
fn mutate_bounded<D: Driver>( &mut self, driver: &mut D, min: Bound<&B>, max: Bound<&B>, ) -> Option<()>
Object Safety§
This trait is not object safe.