FromPopulatedIterator

Trait FromPopulatedIterator 

Source
pub trait FromPopulatedIterator<T>: Sized {
    // Required method
    fn from_populated_iter(iter: impl IntoPopulatedIterator<Item = T>) -> Self;
}
Expand description

Conversion from a PopulatedIterator.

This trait is used to convert a PopulatedIterator into Self.

Required Methods§

Source

fn from_populated_iter(iter: impl IntoPopulatedIterator<Item = T>) -> Self

Converts a PopulatedIterator into Self.

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, E> FromPopulatedIterator<Result<T, E>> for Result<PopulatedVec<T>, E>

Source§

fn from_populated_iter( iter: impl IntoPopulatedIterator<Item = Result<T, E>>, ) -> Self

Implementors§