pub struct Int32Type {}
Trait Implementations§
Source§impl NamedFrom<Range<i32>, Int32Type> for ChunkedArray<Int32Type>
impl NamedFrom<Range<i32>, Int32Type> for ChunkedArray<Int32Type>
Source§fn new(name: PlSmallStr, range: Range<i32>) -> ChunkedArray<Int32Type>
fn new(name: PlSmallStr, range: Range<i32>) -> ChunkedArray<Int32Type>
Initialize by name and values.
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.