pub trait ToGroupByRange: AsRangedCoord + Sizedwhere
Self::CoordDescType: DiscreteRanged,{
// Provided method
fn group_by(self, value: usize) -> GroupBy<Self::CoordDescType> { ... }
}
Expand description
The trait that provides method Self::group_by
function which creates a
GroupBy
decorated ranged value.
Provided Methods§
sourcefn group_by(self, value: usize) -> GroupBy<Self::CoordDescType>
fn group_by(self, value: usize) -> 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 specification
Object Safety§
This trait is not object safe.