pub trait NumOpsDispatchChecked {
// Required methods
fn checked_div(&self, rhs: &Series) -> PolarsResult<Series>;
fn checked_div_num<T: ToPrimitive>(&self, _rhs: T) -> PolarsResult<Series>;
}
Available on crate feature
checked_arithmetic
only.Required Methods§
Sourcefn checked_div(&self, rhs: &Series) -> PolarsResult<Series>
fn checked_div(&self, rhs: &Series) -> PolarsResult<Series>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
fn checked_div_num<T: ToPrimitive>(&self, _rhs: T) -> PolarsResult<Series>
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.