pub struct UInt16Type {}Trait Implementations§
Source§impl Clone for UInt16Type
impl Clone for UInt16Type
Source§fn clone(&self) -> UInt16Type
fn clone(&self) -> UInt16Type
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PolarsDataType for UInt16Type
impl PolarsDataType for UInt16Type
type Physical<'a> = u16
type OwnedPhysical = u16
type ZeroablePhysical<'a> = u16
type Array = PrimitiveArray<u16>
type IsNested = FalseT
type HasViews = FalseT
type IsStruct = FalseT
type IsObject = FalseT
Source§fn get_static_dtype() -> DataType
fn get_static_dtype() -> DataType
Returns the DataType variant associated with this PolarsDataType.
Not implemented for types whose DataTypes have parameters.
Source§impl PolarsNumericType for UInt16Type
impl PolarsNumericType for UInt16Type
Source§impl PolarsPhysicalType for UInt16Type
impl PolarsPhysicalType for UInt16Type
fn ca_into_series(ca: ChunkedArray<Self>) -> Series
impl Copy for UInt16Type
impl PolarsIntegerType for UInt16Type
Auto Trait Implementations§
impl Freeze for UInt16Type
impl RefUnwindSafe for UInt16Type
impl Send for UInt16Type
impl Sync for UInt16Type
impl Unpin for UInt16Type
impl UnwindSafe for UInt16Type
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§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> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§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,
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,
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.