pub trait Fitted: Send + Sync {
// Required method
fn forecast(&self, h: usize) -> Vec<f64>;
// Provided method
fn params(&self) -> Params { ... }
}Expand description
A model estimated on a series. It is plain data: it can be kept, sent to another thread and asked for forecasts from several at once.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".