polars_compute::sum

Trait WrappingSum

Source
pub trait WrappingSum: Sized {
    // Required methods
    fn wrapping_sum(vals: &[Self]) -> Self;
    fn wrapping_sum_with_validity(vals: &[Self], mask: &BitMask<'_>) -> Self;
}

Required Methods§

Source

fn wrapping_sum(vals: &[Self]) -> Self

Source

fn wrapping_sum_with_validity(vals: &[Self], mask: &BitMask<'_>) -> Self

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§

Source§

impl<T> WrappingSum for T