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
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
§impl<T> FromTrustedLenIterator<T> for Vec<T>
impl<T> FromTrustedLenIterator<T> for Vec<T>
fn from_iter_trusted_length<I>(iter: I) -> Vec<T>
Implementors§
impl FromTrustedLenIterator<Option<bool>> for ChunkedArray<BooleanType>
impl FromTrustedLenIterator<Option<bool>> for BooleanArray
impl FromTrustedLenIterator<Option<Series>> for ListChunked
impl FromTrustedLenIterator<bool> for NoNull<BooleanChunked>
impl FromTrustedLenIterator<bool> for BooleanChunked
impl FromTrustedLenIterator<bool> for Bitmap
impl FromTrustedLenIterator<bool> for BooleanArray
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for BinaryChunked
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for BinaryOffsetChunked
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for StringChunked
impl<Ptr> FromTrustedLenIterator<Ptr> for BinaryChunkedwhere
Ptr: PolarsAsRef<[u8]>,
impl<Ptr> FromTrustedLenIterator<Ptr> for BinaryOffsetChunkedwhere
Ptr: PolarsAsRef<[u8]>,
impl<Ptr> FromTrustedLenIterator<Ptr> for ListChunked
impl<Ptr> FromTrustedLenIterator<Ptr> for StringChunkedwhere
Ptr: PolarsAsRef<str>,
impl<T> FromTrustedLenIterator<<T as PolarsNumericType>::Native> for NoNull<ChunkedArray<T>>where
T: PolarsNumericType,
impl<T> FromTrustedLenIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> FromTrustedLenIterator<Option<T>> for PrimitiveArray<T>where
T: NativeType,
impl<T> FromTrustedLenIterator<T> for PrimitiveArray<T>where
T: NativeType,
impl<T: PolarsObject> FromTrustedLenIterator<Option<T>> for ObjectChunked<T>
Available on crate feature
object
only.