pub trait FromInternalIterator<A> {
    // Required method
    fn from_iter<T>(iter: T) -> Self
       where T: IntoInternalIterator<Item = A>;
}
Expand description

Conversion from an InternalIterator.

This is internal-iterator equivalent of std::iter::FromIterator.

Required Methods§

source

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = A>,

Convert from an iterator.

Implementations on Foreign Types§

source§

impl FromInternalIterator<char> for String

source§

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = char>,

source§

impl<K: Eq + Hash, V> FromInternalIterator<(K, V)> for HashMap<K, V>

source§

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = (K, V)>,

source§

impl<C, R, E> FromInternalIterator<Result<R, E>> for Result<C, E>where C: FromInternalIterator<R>,

source§

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = Result<R, E>>,

source§

impl<A: Ord> FromInternalIterator<A> for BTreeSet<A>

source§

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = A>,

source§

impl<A: Eq + Hash> FromInternalIterator<A> for HashSet<A>

source§

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = A>,

source§

impl<A> FromInternalIterator<A> for Vec<A>

source§

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = A>,

source§

impl<K: Ord, V> FromInternalIterator<(K, V)> for BTreeMap<K, V>

source§

fn from_iter<T>(iter: T) -> Selfwhere T: IntoInternalIterator<Item = (K, V)>,

Implementors§