pub struct NaiveForecast;Expand description
Naive “tomorrow is today” forecaster.
This forecast simply copies the provided baseline and repeats/truncates it to match the requested simulation horizon.
Implementations§
Trait Implementations§
Source§impl Clone for NaiveForecast
impl Clone for NaiveForecast
Source§fn clone(&self) -> NaiveForecast
fn clone(&self) -> NaiveForecast
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NaiveForecast
impl Debug for NaiveForecast
Source§impl Default for NaiveForecast
impl Default for NaiveForecast
Source§fn default() -> NaiveForecast
fn default() -> NaiveForecast
Returns the “default value” for a type. Read more
impl Copy for NaiveForecast
Auto Trait Implementations§
impl Freeze for NaiveForecast
impl RefUnwindSafe for NaiveForecast
impl Send for NaiveForecast
impl Sync for NaiveForecast
impl Unpin for NaiveForecast
impl UnwindSafe for NaiveForecast
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more