pub trait Distribution: Debug {
// Required method
fn generate(&self, n: usize) -> Vec<usize>;
}Expand description
This trait defines a Distribution in an abstract way.
Without implementing lower level mechanisms this trait defines the shared behaviour of a distribution, i.e. the property of being able to generate the input sizes.