plotters::coord::combinators

Trait ToGroupByRange

Source
pub trait ToGroupByRange: AsRangedCoord + Sized{
    // 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

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§