Enum rta_for_fps_lib::iterators::curve::Delta[][src]

pub enum Delta<S, D, SI, DI> {
    RemainingSupply(Window<S>),
    EndSupply(Box<SI>),
    Overlap(Window<Overlap<S, D>>),
    RemainingDemand(Window<D>),
    EndDemand(Peeker<CurveIteratorIterator<Box<DI>>, Window<D>>),
}
Expand description

Item type of the CurveDeltaIterator

Variants

RemainingSupply(Window<S>)

Indicate a Window of remaining supply

EndSupply(Box<SI>)

Remaining Supply once Demand ran out

Overlap(Window<Overlap<S, D>>)

Indicate a Window of overlapping supply and demand

RemainingDemand(Window<D>)

Indicate a Window of remaining demand

EndDemand(Peeker<CurveIteratorIterator<Box<DI>>, Window<D>>)

Remaining Demand once Supply ran out

Implementations

turn delta into some overlap or none otherwise

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.