Enum windowed_stats::experimental::series::interpolation::Constant
source · pub enum Constant {}
Expand description
An interpolation over a constant sample.
Implementations§
source§impl Constant
impl Constant
pub fn default<T>() -> ConstantState<T>where
T: Default,
pub fn new<T>(sample: T) -> ConstantState<T>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Constant
impl RefUnwindSafe for Constant
impl Send for Constant
impl Sync for Constant
impl Unpin for Constant
impl UnwindSafe for Constant
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