pub trait ParamRange {
// Required methods
fn start(&self) -> u32;
fn end(&self) -> u32;
}
Expand description
Trait that must be implemented by all structs that can be used as parameter range types
in the new benchmarking code (i.e. Linear<0, 1_000>
). Right now there is just
Linear
but this could later be extended to support additional non-linear parameter
ranges.
See v2
for more info.
Represents the (inclusive) starting number of this ParamRange
.
Represents the (inclusive) ending number of this ParamRange
.