pub trait Binnable:
PartialEq
+ PartialOrd
+ Add
+ Sub
+ Sized {
// Required methods
fn multiply(&self, rhs: usize) -> Self;
fn divide(&self, rhs: usize) -> Self;
}Expand description
Allows a type T to be used as the primary dimension of a Histogram.
Consumers may choose to implement this to bin non-standard types in a histogram.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.