[][src]Struct plotters::coord::GroupBy

pub struct GroupBy<T>(_, _)
where
    T::ValueType: PrimInt + ToPrimitive + FromPrimitive + Mul,
    T: Ranged
;

The ranged value spec that needs to be grouped. This is useful, for example, when we have an X axis is a integer and denotes days. And we are expecting the tick mark denotes weeks, in this way we can make the range spec grouping by 7 elements.

Trait Implementations

impl<T> Ranged for GroupBy<T> where
    T::ValueType: PrimInt + ToPrimitive + FromPrimitive + Mul,
    T: Ranged
[src]

type ValueType = T::ValueType

The type of this value

impl<T> DiscreteRanged for GroupBy<T> where
    T::ValueType: PrimInt + ToPrimitive + FromPrimitive + Mul,
    T: Ranged + DiscreteRanged
[src]

type RangeParameter = <T as DiscreteRanged>::RangeParameter

impl<T> AsRangedCoord for GroupBy<T> where
    T::ValueType: PrimInt + ToPrimitive + FromPrimitive + Mul,
    T: Ranged
[src]

type Value = T::ValueType

type CoordDescType = Self

Auto Trait Implementations

impl<T> Send for GroupBy<T> where
    T: Send,
    <T as Ranged>::ValueType: Send

impl<T> Unpin for GroupBy<T> where
    T: Unpin,
    <T as Ranged>::ValueType: Unpin

impl<T> Sync for GroupBy<T> where
    T: Sync,
    <T as Ranged>::ValueType: Sync

impl<T> UnwindSafe for GroupBy<T> where
    T: UnwindSafe,
    <T as Ranged>::ValueType: UnwindSafe

impl<T> RefUnwindSafe for GroupBy<T> where
    T: RefUnwindSafe,
    <T as Ranged>::ValueType: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]