std_dev::percentile

Trait PercentileResolve

source
pub trait PercentileResolve
where 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

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§

source§

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

Available on crate feature generic-impls only.