Struct polars_core::datatypes::Int128Type
source · pub struct Int128Type {}
Available on crate feature
dtype-decimal
only.Trait Implementations§
source§impl PolarsDataType for Int128Type
impl PolarsDataType for Int128Type
source§impl PolarsNumericType for Int128Type
impl PolarsNumericType for Int128Type
impl PolarsIntegerType for Int128Type
Auto Trait Implementations§
impl Freeze for Int128Type
impl RefUnwindSafe for Int128Type
impl Send for Int128Type
impl Sync for Int128Type
impl Unpin for Int128Type
impl UnwindSafe for Int128Type
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> NumOpsDispatchCheckedInner for Twhere
<T as PolarsNumericType>::Native: CheckedDiv<Output = <T as PolarsNumericType>::Native, Output = <T as PolarsNumericType>::Native> + CheckedDiv + Zero + One,
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
impl<T> NumOpsDispatchCheckedInner for Twhere
<T as PolarsNumericType>::Native: CheckedDiv<Output = <T as PolarsNumericType>::Native, Output = <T as PolarsNumericType>::Native> + CheckedDiv + Zero + One,
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
source§fn checked_div(
lhs: &ChunkedArray<T>,
rhs: &Series
) -> Result<Series, PolarsError>
fn checked_div( lhs: &ChunkedArray<T>, rhs: &Series ) -> Result<Series, PolarsError>
Available on crate feature
checked_arithmetic
only.Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
source§fn checked_div_num<T: ToPrimitive>(
lhs: &ChunkedArray<Self>,
_rhs: T
) -> PolarsResult<Series>
fn checked_div_num<T: ToPrimitive>( lhs: &ChunkedArray<Self>, _rhs: T ) -> PolarsResult<Series>
Available on crate feature
checked_arithmetic
only.