polars::series::arithmetic

Trait NumOpsDispatchInner

Source
pub trait NumOpsDispatchInner: Sized + PolarsDataType {
    // Provided methods
    fn subtract(
        lhs: &ChunkedArray<Self>,
        rhs: &Series,
    ) -> Result<Series, PolarsError> { ... }
    fn add_to(
        lhs: &ChunkedArray<Self>,
        rhs: &Series,
    ) -> Result<Series, PolarsError> { ... }
    fn multiply(
        lhs: &ChunkedArray<Self>,
        rhs: &Series,
    ) -> Result<Series, PolarsError> { ... }
    fn divide(
        lhs: &ChunkedArray<Self>,
        rhs: &Series,
    ) -> Result<Series, PolarsError> { ... }
    fn remainder(
        lhs: &ChunkedArray<Self>,
        rhs: &Series,
    ) -> Result<Series, PolarsError> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§