/// Trait for data that can be used in the forecaster.
////// This trait is implemented for a number of types including slices, arrays, and
/// vectors. It is also implemented for references to these types.
pubtraitData{/// Return the data as a slice of `f64`.
fnas_slice(&self)->&[f64];}impl<const N:usize> Data for [f64; N] {fnas_slice(&self)->&[f64]{self}}implData for&[f64] {fnas_slice(&self)->&[f64]{self}}implData forVec<f64>{fnas_slice(&self)->&[f64]{self.as_slice()}}impl<T> Data for&Twhere
T: Data,
{fnas_slice(&self)->&[f64]{(*self).as_slice()}}