Trait polars::datatypes::ArrayFromIter
pub trait ArrayFromIter<T>: Sized {
// Required methods
fn arr_from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = T>;
fn try_arr_from_iter<E, I>(iter: I) -> Result<Self, E>
where I: IntoIterator<Item = Result<T, E>>;
// Provided methods
fn arr_from_iter_trusted<I>(iter: I) -> Self
where I: IntoIterator<Item = T>,
<I as IntoIterator>::IntoIter: TrustedLen { ... }
fn try_arr_from_iter_trusted<E, I>(iter: I) -> Result<Self, E>
where I: IntoIterator<Item = Result<T, E>>,
<I as IntoIterator>::IntoIter: TrustedLen { ... }
}
Required Methods§
fn arr_from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
fn try_arr_from_iter<E, I>(iter: I) -> Result<Self, E>where
I: IntoIterator<Item = Result<T, E>>,
Provided Methods§
fn arr_from_iter_trusted<I>(iter: I) -> Self
fn try_arr_from_iter_trusted<E, I>(iter: I) -> Result<Self, E>
Object Safety§
This trait is not object safe.