Trait windowed_stats::experimental::series::interpolation::Interpolation
source · pub trait Interpolation {
type FillSample<F>: Clone
where F: Statistic;
type State<F>: InterpolationState<F::Aggregation, FillSample = Self::FillSample<F>>
where F: Statistic;
}
Expand description
A type constructor for an interpolation over the samples or aggregations of a Statistic
.
Required Associated Types§
sourcetype FillSample<F>: Clone
where
F: Statistic
type FillSample<F>: Clone where F: Statistic
The type of fill (interpolated) samples computed by the interpolation.
sourcetype State<F>: InterpolationState<F::Aggregation, FillSample = Self::FillSample<F>>
where
F: Statistic
type State<F>: InterpolationState<F::Aggregation, FillSample = Self::FillSample<F>> where F: Statistic
The state (output type) of the interpolation type constructor.
Object Safety§
This trait is not object safe.