Struct polars_core::utils::NoNull[][src]

pub struct NoNull<T> { /* fields omitted */ }
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

impl<T> NoNull<T>[src]

pub fn new(inner: T) -> Self[src]

pub fn into_inner(self) -> T[src]

Trait Implementations

impl<T> Deref for NoNull<T>[src]

type Target = T

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl<T> DerefMut for NoNull<T>[src]

fn deref_mut(&mut self) -> &mut Self::Target[src]

Mutably dereferences the value.

impl<T> FromIterator<<T as ArrowPrimitiveType>::Native> for NoNull<ChunkedArray<T>> where
    T: PolarsPrimitiveType
[src]

fn from_iter<I: IntoIterator<Item = T::Native>>(iter: I) -> Self[src]

Creates a value from an iterator. Read more

impl FromIterator<bool> for NoNull<BooleanChunked>[src]

fn from_iter<I: IntoIterator<Item = bool>>(iter: I) -> Self[src]

Creates a value from an iterator. Read more

impl<T> FromParallelIterator<<T as ArrowPrimitiveType>::Native> for NoNull<ChunkedArray<T>> where
    T: PolarsPrimitiveType
[src]

fn from_par_iter<I: IntoParallelIterator<Item = T::Native>>(iter: I) -> Self[src]

Creates an instance of the collection from the parallel iterator par_iter. Read more

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

pub fn cast(self) -> U

Numeric cast from self to T.

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> FromCast<T> for T

pub fn from_cast(t: T) -> T

Numeric cast from T to Self.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V