pub trait ToGroupByRange: AsRangedCoord + Sizedwhere
    Self::CoordDescType: DiscreteRanged,{
    // Provided method
    fn group_by(
        self,
        value: usize
    ) -> GroupBy<<Self as AsRangedCoord>::CoordDescType> { ... }
}
Expand description

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

Provided Methods§

source

fn group_by( self, value: usize ) -> GroupBy<<Self as AsRangedCoord>::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 specification

Implementors§