pub struct Int16Type {}
Trait Implementations§
Source§impl PolarsDataType for Int16Type
impl PolarsDataType for Int16Type
type Physical<'a> = i16
type OwnedPhysical = i16
type ZeroablePhysical<'a> = i16
type Array = PrimitiveArray<i16>
type IsNested = FalseT
type HasViews = FalseT
type IsStruct = FalseT
type IsObject = FalseT
type IsLogical = FalseT
fn get_dtype() -> DataType
impl Copy for Int16Type
impl PolarsIntegerType for Int16Type
Auto Trait Implementations§
impl Freeze for Int16Type
impl RefUnwindSafe for Int16Type
impl Send for Int16Type
impl Sync for Int16Type
impl Unpin for Int16Type
impl UnwindSafe for Int16Type
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.