Struct polars_arrow::legacy::kernels::ewm::EWMOptions
source · pub struct EWMOptions {
pub alpha: f64,
pub adjust: bool,
pub bias: bool,
pub min_periods: usize,
pub ignore_nulls: bool,
}
Fields§
§alpha: f64
§adjust: bool
§bias: bool
§min_periods: usize
§ignore_nulls: bool
Implementations§
source§impl EWMOptions
impl EWMOptions
pub fn and_min_periods(self, min_periods: usize) -> Self
pub fn and_adjust(self, adjust: bool) -> Self
pub fn and_span(self, span: usize) -> Self
pub fn and_half_life(self, half_life: f64) -> Self
pub fn and_com(self, com: f64) -> Self
pub fn and_ignore_nulls(self, ignore_nulls: bool) -> Self
Trait Implementations§
source§impl Clone for EWMOptions
impl Clone for EWMOptions
source§fn clone(&self) -> EWMOptions
fn clone(&self) -> EWMOptions
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 EWMOptions
impl Debug for EWMOptions
source§impl Default for EWMOptions
impl Default for EWMOptions
source§impl Hash for EWMOptions
impl Hash for EWMOptions
source§impl PartialEq for EWMOptions
impl PartialEq for EWMOptions
source§fn eq(&self, other: &EWMOptions) -> bool
fn eq(&self, other: &EWMOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EWMOptions
impl StructuralPartialEq for EWMOptions
Auto Trait Implementations§
impl Freeze for EWMOptions
impl RefUnwindSafe for EWMOptions
impl Send for EWMOptions
impl Sync for EWMOptions
impl Unpin for EWMOptions
impl UnwindSafe for EWMOptions
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