polars_core::series::arithmetic

Trait LhsNumOps

Source
pub trait LhsNumOps {
    type Output;

    // Required methods
    fn add(self, rhs: &Series) -> Self::Output;
    fn sub(self, rhs: &Series) -> Self::Output;
    fn div(self, rhs: &Series) -> Self::Output;
    fn mul(self, rhs: &Series) -> Self::Output;
    fn rem(self, rem: &Series) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn add(self, rhs: &Series) -> Self::Output

Source

fn sub(self, rhs: &Series) -> Self::Output

Source

fn div(self, rhs: &Series) -> Self::Output

Source

fn mul(self, rhs: &Series) -> Self::Output

Source

fn rem(self, rem: &Series) -> Self::Output

Implementors§

Source§

impl<T> LhsNumOps for T
where T: Num + NumCast,