[−][src]Trait plotters::coord::DiscreteRanged
The trait indicates the coordinate is discrete, so that we can draw histogram on it
Associated Types
type RangeParameter
Required methods
fn get_range_parameter(&self) -> Self::RangeParameter
fn next_value(
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType
Get the smallest value that is larger than the this
value
fn previous_value(
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType
Get the largest value that is smaller than this
value
Implementors
impl DiscreteRanged for RangedCoordi128
[src]
type RangeParameter = ()
fn get_range_parameter(&self)
[src]
fn next_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
fn previous_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
impl DiscreteRanged for RangedCoordi32
[src]
type RangeParameter = ()
fn get_range_parameter(&self)
[src]
fn next_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
fn previous_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
impl DiscreteRanged for RangedCoordi64
[src]
type RangeParameter = ()
fn get_range_parameter(&self)
[src]
fn next_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
fn previous_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
impl DiscreteRanged for RangedCoordu128
[src]
type RangeParameter = ()
fn get_range_parameter(&self)
[src]
fn next_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
fn previous_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
impl DiscreteRanged for RangedCoordu32
[src]
type RangeParameter = ()
fn get_range_parameter(&self)
[src]
fn next_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
fn previous_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
impl DiscreteRanged for RangedCoordu64
[src]
type RangeParameter = ()
fn get_range_parameter(&self)
[src]
fn next_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
fn previous_value(this: &Self::ValueType, _: &()) -> Self::ValueType
[src]
impl<T> DiscreteRanged for GroupBy<T> where
T::ValueType: PrimInt + ToPrimitive + FromPrimitive + Mul,
T: Ranged + DiscreteRanged,
[src]
T::ValueType: PrimInt + ToPrimitive + FromPrimitive + Mul,
T: Ranged + DiscreteRanged,
type RangeParameter = <T as DiscreteRanged>::RangeParameter
fn get_range_parameter(&self) -> Self::RangeParameter
[src]
fn previous_value(
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType
[src]
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType
fn next_value(
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType
[src]
this: &Self::ValueType,
param: &Self::RangeParameter
) -> Self::ValueType