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) -> Self
where T: IntoInternalIterator<Item = A>,

Convert from an iterator.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromInternalIterator<char> for String

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§