pub trait DescreteRanged{
// Required method
fn next_value(this: &Self::ValueType) -> Self::ValueType;
}
Expand description
The trait indicates the coordinate is descrete, so that we can draw histogram on it
Required Methods§
Sourcefn next_value(this: &Self::ValueType) -> Self::ValueType
fn next_value(this: &Self::ValueType) -> Self::ValueType
Get the smallest value that is larger than the this
value
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.