Trait DescreteRanged

Source
pub trait DescreteRanged
where Self: Ranged, Self::ValueType: Eq,
{ // 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§

Source

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.

Implementors§