pub struct NoNull<T> { /* private fields */ }
Expand description
Just a wrapper structure. Useful for certain impl specializations
This is for instance use to implement
impl<T> FromIterator<T::Native> for NoNull<ChunkedArray<T>>
as Option<T::Native>
was already implemented:
impl<T> FromIterator<Option<T::Native>> for ChunkedArray<T>
Implementations§
Trait Implementations§
source§impl<T> FromIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
impl<T> FromIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
source§impl FromIterator<bool> for NoNull<ChunkedArray<BooleanType>>
impl FromIterator<bool> for NoNull<ChunkedArray<BooleanType>>
source§fn from_iter<I>(iter: I) -> NoNull<ChunkedArray<BooleanType>>where
I: IntoIterator<Item = bool>,
fn from_iter<I>(iter: I) -> NoNull<ChunkedArray<BooleanType>>where
I: IntoIterator<Item = bool>,
Creates a value from an iterator. Read more
source§impl<T> FromIteratorReversed<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
impl<T> FromIteratorReversed<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
fn from_trusted_len_iter_rev<I>(iter: I) -> NoNull<ChunkedArray<T>>where
I: TrustedLen<Item = <T as PolarsNumericType>::Native>,
source§impl FromIteratorReversed<bool> for NoNull<ChunkedArray<BooleanType>>
impl FromIteratorReversed<bool> for NoNull<ChunkedArray<BooleanType>>
fn from_trusted_len_iter_rev<I>(iter: I) -> NoNull<ChunkedArray<BooleanType>>where
I: TrustedLen<Item = bool>,
source§impl<T> FromParallelIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
impl<T> FromParallelIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
source§fn from_par_iter<I>(iter: I) -> NoNull<ChunkedArray<T>>where
I: IntoParallelIterator<Item = <T as PolarsNumericType>::Native>,
fn from_par_iter<I>(iter: I) -> NoNull<ChunkedArray<T>>where
I: IntoParallelIterator<Item = <T as PolarsNumericType>::Native>,
Creates an instance of the collection from the parallel iterator
par_iter
. Read moresource§impl<T> FromTrustedLenIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
impl<T> FromTrustedLenIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
fn from_iter_trusted_length<I>(iter: I) -> NoNull<ChunkedArray<T>>where
I: IntoIterator<Item = <T as PolarsNumericType>::Native>,
<I as IntoIterator>::IntoIter: TrustedLen,
source§impl FromTrustedLenIterator<bool> for NoNull<ChunkedArray<BooleanType>>
impl FromTrustedLenIterator<bool> for NoNull<ChunkedArray<BooleanType>>
fn from_iter_trusted_length<I>(iter: I) -> NoNull<ChunkedArray<BooleanType>>where
I: IntoIterator<Item = bool>,
Auto Trait Implementations§
impl<T> Freeze for NoNull<T>where
T: Freeze,
impl<T> RefUnwindSafe for NoNull<T>where
T: RefUnwindSafe,
impl<T> Send for NoNull<T>where
T: Send,
impl<T> Sync for NoNull<T>where
T: Sync,
impl<T> Unpin for NoNull<T>where
T: Unpin,
impl<T> UnwindSafe for NoNull<T>where
T: UnwindSafe,
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<A, T, E> FromFallibleIterator<A, E> for Twhere
T: FromIterator<A>,
E: Error,
impl<A, T, E> FromFallibleIterator<A, E> for Twhere
T: FromIterator<A>,
E: Error,
fn from_fallible_iter<F>(iter: F) -> Result<T, E>where
F: FallibleIterator<E, Item = A>,
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 more