pub trait AnalogNumRange<T> {
// Required methods
fn begin(&self) -> T;
fn end(&self) -> T;
// Provided method
fn count(&self) -> T
where T: Sub<T, Output = T> + Copy { ... }
}
pub trait AnalogNumRange<T> {
// Required methods
fn begin(&self) -> T;
fn end(&self) -> T;
// Provided method
fn count(&self) -> T
where T: Sub<T, Output = T> + Copy { ... }
}