pub trait FromIterator<A> { fn from_iterator<T: Iterator<A>>(iterator: &mut T) -> Self; }
Conversion from an Iterator
fn from_iterator<T: Iterator<A>>(iterator: &mut T) -> Self
Build a container with elements from an external iterator.
TrieSet
TrieMap<T>
HashSet<K>
HashMap<K, V>
impl<A> FromIterator<A> for ~[A]
impl FromIterator<char> for ~str
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).