pub trait PercentileResolvewhere
    Self: Sized,{
    // Required method
    fn mean(a: Self, b: Self) -> Self;

    // Provided method
    fn compute(percentile: MeanValue<Self>) -> Self { ... }
}
Expand description

Resolves the mean function to return a concrete value. Accessible through MeanValue::resolve.

Required Methods§

source

fn mean(a: Self, b: Self) -> Self

Provided Methods§

source

fn compute(percentile: MeanValue<Self>) -> Self

Implementors§

source§

impl<T: One + Add<Output = T> + Div<Output = T>> PercentileResolve for T

Available on crate feature generic-impls only.