Struct stlrs::MstlParams
source · pub struct MstlParams { /* private fields */ }
Implementations§
source§impl MstlParams
impl MstlParams
sourcepub fn iterations(&mut self, iterations: usize) -> &mut Self
pub fn iterations(&mut self, iterations: usize) -> &mut Self
Sets the number of iterations.
sourcepub fn seasonal_lengths(&mut self, lengths: &[usize]) -> &mut Self
pub fn seasonal_lengths(&mut self, lengths: &[usize]) -> &mut Self
Sets the lengths of the seasonal smoothers.
sourcepub fn stl_params(&mut self, stl_params: StlParams) -> &mut Self
pub fn stl_params(&mut self, stl_params: StlParams) -> &mut Self
Sets the STL parameters.
Trait Implementations§
source§impl Clone for MstlParams
impl Clone for MstlParams
source§fn clone(&self) -> MstlParams
fn clone(&self) -> MstlParams
Returns a copy 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 MstlParams
impl Debug for MstlParams
Auto Trait Implementations§
impl RefUnwindSafe for MstlParams
impl Send for MstlParams
impl Sync for MstlParams
impl Unpin for MstlParams
impl UnwindSafe for MstlParams
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