Struct polars_core::datatypes::Int32Type
source · pub struct Int32Type {}
Trait Implementations§
source§impl PolarsDataType for Int32Type
impl PolarsDataType for Int32Type
impl Copy for Int32Type
impl PolarsIntegerType for Int32Type
Auto Trait Implementations§
impl Freeze for Int32Type
impl RefUnwindSafe for Int32Type
impl Send for Int32Type
impl Sync for Int32Type
impl Unpin for Int32Type
impl UnwindSafe for Int32Type
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.