polars_arrow::legacy::utils

Trait FromTrustedLenIterator

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

Required Methods§

Source

fn from_iter_trusted_length<T: IntoIterator<Item = A>>(iter: T) -> Self
where T::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: IntoIterator<Item = T>>(iter: I) -> Self
where I::IntoIter: TrustedLen,

Implementors§