pub trait StatisticalEstimator {
type Input;
type Output;
// Required methods
fn assumptions() -> Vec<Box<dyn Assumption>>;
fn estimate(&self, input: &Self::Input) -> Self::Output;
}Expand description
The general form of a statistical estimation
Required Associated Types§
Required Methods§
Sourcefn assumptions() -> Vec<Box<dyn Assumption>>
fn assumptions() -> Vec<Box<dyn Assumption>>
Provide the required assumptions for the statistic to be calculated
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.