Trait polars_core::utils::FromTrustedLenIterator
source · pub trait FromTrustedLenIterator<A>: Sized {
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) -> Selfwhere
T: IntoIterator<Item = A>,
<T as IntoIterator>::IntoIter: TrustedLen,
Implementations on Foreign Types§
source§impl<T> FromTrustedLenIterator<T> for Vec<T, Global>
impl<T> FromTrustedLenIterator<T> for Vec<T, Global>
fn from_iter_trusted_length<I>(iter: I) -> Vec<T, Global> ⓘwhere
I: IntoIterator<Item = T>,
<I as IntoIterator>::IntoIter: TrustedLen,
source§impl<T> FromTrustedLenIterator<T> for PrimitiveArray<T>where
T: NativeType,
impl<T> FromTrustedLenIterator<T> for PrimitiveArray<T>where
T: NativeType,
fn from_iter_trusted_length<I>(iter: I) -> PrimitiveArray<T>where
I: IntoIterator<Item = T>,
<I as IntoIterator>::IntoIter: TrustedLen,
source§impl FromTrustedLenIterator<Option<bool>> for BooleanArray
impl FromTrustedLenIterator<Option<bool>> for BooleanArray
fn from_iter_trusted_length<I>(iter: I) -> BooleanArraywhere
I: IntoIterator<Item = Option<bool>>,
<I as IntoIterator>::IntoIter: TrustedLen,
source§impl<T> FromTrustedLenIterator<Option<T>> for PrimitiveArray<T>where
T: NativeType,
impl<T> FromTrustedLenIterator<Option<T>> for PrimitiveArray<T>where
T: NativeType,
fn from_iter_trusted_length<I>(iter: I) -> PrimitiveArray<T>where
I: IntoIterator<Item = Option<T>>,
<I as IntoIterator>::IntoIter: TrustedLen,
source§impl FromTrustedLenIterator<bool> for BooleanArray
impl FromTrustedLenIterator<bool> for BooleanArray
fn from_iter_trusted_length<I>(iter: I) -> BooleanArraywhere
I: IntoIterator<Item = bool>,
<I as IntoIterator>::IntoIter: TrustedLen,
Implementors§
impl FromTrustedLenIterator<Option<bool>> for ChunkedArray<BooleanType>
impl FromTrustedLenIterator<Option<Series>> for ListChunked
impl FromTrustedLenIterator<bool> for NoNull<BooleanChunked>
impl FromTrustedLenIterator<bool> for BooleanChunked
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for BinaryChunkedwhere
Ptr: AsRef<[u8]>,
Available on crate feature
dtype-binary
only.impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for Utf8Chunkedwhere
Ptr: AsRef<str>,
impl<Ptr> FromTrustedLenIterator<Ptr> for BinaryChunkedwhere
Ptr: PolarsAsRef<[u8]>,
Available on crate feature
dtype-binary
only.impl<Ptr> FromTrustedLenIterator<Ptr> for ListChunkedwhere
Ptr: Borrow<Series>,
impl<Ptr> FromTrustedLenIterator<Ptr> for Utf8Chunkedwhere
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: PolarsObject> FromTrustedLenIterator<Option<T>> for ObjectChunked<T>
Available on crate feature
object
only.