[][src]Trait plotters::coord::ToGroupByRange

pub trait ToGroupByRange where
    Self: AsRangedCoord,
    Self::Value: PrimInt + ToPrimitive + FromPrimitive + Mul,
    <Self::CoordDescType as Ranged>::ValueType: PrimInt + ToPrimitive + FromPrimitive + Mul
{ fn group_by(
        self,
        value: <Self::CoordDescType as Ranged>::ValueType
    ) -> GroupBy<Self::CoordDescType> { ... } }

The trait that provides method Self::group_by function which creates a GroupBy decorated ranged value.

Provided methods

fn group_by(
    self,
    value: <Self::CoordDescType as Ranged>::ValueType
) -> GroupBy<Self::CoordDescType>

Make a grouping ranged value, see the documentation for GroupBy for details.

  • value: The number of values we want to group it
  • return: The newly created grouping range sepcification
Loading content...

Implementors

impl<T> ToGroupByRange for T where
    Self: AsRangedCoord,
    Self::Value: PrimInt + FromPrimitive + ToPrimitive + Mul,
    <Self::CoordDescType as Ranged>::ValueType: PrimInt + FromPrimitive + ToPrimitive + Mul
[src]

Loading content...