pub struct NoNull<T> { /* private fields */ }
Expand description
Just a wrapper structure which is 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
§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 more