Trait polars_core::utils::FromTrustedLenIterator

pub trait FromTrustedLenIterator<A>: Sized {
    // Required method
    fn from_iter_trusted_length<T>(iter: T) -> Self
       where T: IntoIterator<Item = A>,
             <T as IntoIterator>::IntoIter: TrustedLen;
}

Required Methods§

fn from_iter_trusted_length<T>(iter: T) -> Self
where T: IntoIterator<Item = A>, <T as IntoIterator>::IntoIter: TrustedLen,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<T> FromTrustedLenIterator<T> for Vec<T>

§

fn from_iter_trusted_length<I>(iter: I) -> Vec<T>
where I: IntoIterator<Item = T>, <I as IntoIterator>::IntoIter: TrustedLen,

Implementors§

source§

impl FromTrustedLenIterator<Option<bool>> for ChunkedArray<BooleanType>

§

impl FromTrustedLenIterator<Option<bool>> for BooleanArray

source§

impl FromTrustedLenIterator<Option<Series>> for ListChunked

source§

impl FromTrustedLenIterator<bool> for NoNull<BooleanChunked>

source§

impl FromTrustedLenIterator<bool> for BooleanChunked

§

impl FromTrustedLenIterator<bool> for Bitmap

§

impl FromTrustedLenIterator<bool> for BooleanArray

source§

impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for BinaryChunked
where Ptr: AsRef<[u8]>,

source§

impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for BinaryOffsetChunked
where Ptr: AsRef<[u8]>,

source§

impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for StringChunked
where Ptr: AsRef<str>,

source§

impl<Ptr> FromTrustedLenIterator<Ptr> for BinaryChunked
where Ptr: PolarsAsRef<[u8]>,

source§

impl<Ptr> FromTrustedLenIterator<Ptr> for BinaryOffsetChunked
where Ptr: PolarsAsRef<[u8]>,

source§

impl<Ptr> FromTrustedLenIterator<Ptr> for ListChunked
where Ptr: Borrow<Series>,

source§

impl<Ptr> FromTrustedLenIterator<Ptr> for StringChunked
where Ptr: PolarsAsRef<str>,

source§

impl<T> FromTrustedLenIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>

source§

impl<T> FromTrustedLenIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>

§

impl<T> FromTrustedLenIterator<Option<T>> for PrimitiveArray<T>
where T: NativeType,

§

impl<T> FromTrustedLenIterator<T> for PrimitiveArray<T>
where T: NativeType,

source§

impl<T: PolarsObject> FromTrustedLenIterator<Option<T>> for ObjectChunked<T>

Available on crate feature object only.