polars_core::utils

Trait FromTrustedLenIterator

Source
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§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

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>

Source§

impl FromTrustedLenIterator<Option<bool>> for BooleanArray

Source§

impl FromTrustedLenIterator<Option<Series>> for ListChunked

Source§

impl FromTrustedLenIterator<bool> for BooleanArray

Source§

impl FromTrustedLenIterator<bool> for Bitmap

Source§

impl FromTrustedLenIterator<bool> for NoNull<BooleanChunked>

Source§

impl FromTrustedLenIterator<bool> for BooleanChunked

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>

Source§

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

Source§

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.