pub trait ArithmeticChunked {
type Scalar;
type Out;
type TrueDivOut;
Show 24 methods
// Required methods
fn wrapping_abs(self) -> Self::Out;
fn wrapping_neg(self) -> Self::Out;
fn wrapping_add(self, rhs: Self) -> Self::Out;
fn wrapping_sub(self, rhs: Self) -> Self::Out;
fn wrapping_mul(self, rhs: Self) -> Self::Out;
fn wrapping_floor_div(self, rhs: Self) -> Self::Out;
fn wrapping_trunc_div(self, rhs: Self) -> Self::Out;
fn wrapping_mod(self, rhs: Self) -> Self::Out;
fn wrapping_add_scalar(self, rhs: Self::Scalar) -> Self::Out;
fn wrapping_sub_scalar(self, rhs: Self::Scalar) -> Self::Out;
fn wrapping_sub_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out;
fn wrapping_mul_scalar(self, rhs: Self::Scalar) -> Self::Out;
fn wrapping_floor_div_scalar(self, rhs: Self::Scalar) -> Self::Out;
fn wrapping_floor_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out;
fn wrapping_trunc_div_scalar(self, rhs: Self::Scalar) -> Self::Out;
fn wrapping_trunc_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out;
fn wrapping_mod_scalar(self, rhs: Self::Scalar) -> Self::Out;
fn wrapping_mod_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out;
fn true_div(self, rhs: Self) -> Self::TrueDivOut;
fn true_div_scalar(self, rhs: Self::Scalar) -> Self::TrueDivOut;
fn true_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::TrueDivOut;
fn legacy_div(self, rhs: Self) -> Self::Out;
fn legacy_div_scalar(self, rhs: Self::Scalar) -> Self::Out;
fn legacy_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out;
}
Required Associated Types§
Required Methods§
fn wrapping_abs(self) -> Self::Out
fn wrapping_neg(self) -> Self::Out
fn wrapping_add(self, rhs: Self) -> Self::Out
fn wrapping_sub(self, rhs: Self) -> Self::Out
fn wrapping_mul(self, rhs: Self) -> Self::Out
fn wrapping_floor_div(self, rhs: Self) -> Self::Out
fn wrapping_trunc_div(self, rhs: Self) -> Self::Out
fn wrapping_mod(self, rhs: Self) -> Self::Out
fn wrapping_add_scalar(self, rhs: Self::Scalar) -> Self::Out
fn wrapping_sub_scalar(self, rhs: Self::Scalar) -> Self::Out
fn wrapping_sub_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out
fn wrapping_mul_scalar(self, rhs: Self::Scalar) -> Self::Out
fn wrapping_floor_div_scalar(self, rhs: Self::Scalar) -> Self::Out
fn wrapping_floor_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out
fn wrapping_trunc_div_scalar(self, rhs: Self::Scalar) -> Self::Out
fn wrapping_trunc_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out
fn wrapping_mod_scalar(self, rhs: Self::Scalar) -> Self::Out
fn wrapping_mod_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out
fn true_div(self, rhs: Self) -> Self::TrueDivOut
fn true_div_scalar(self, rhs: Self::Scalar) -> Self::TrueDivOut
fn true_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::TrueDivOut
fn legacy_div(self, rhs: Self) -> Self::Out
fn legacy_div_scalar(self, rhs: Self::Scalar) -> Self::Out
fn legacy_div_scalar_lhs(lhs: Self::Scalar, rhs: Self) -> Self::Out
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.