pub trait Extendable<A>: FromIterator<A> { fn extend<T: Iterator<A>>(&mut self, iterator: &mut T); }
A type growable from an Iterator
implementation
fn extend<T: Iterator<A>>(&mut self, iterator: &mut T)
Extend a container with the elements yielded by an iterator
TrieSet
TrieMap<T>
HashSet<K>
HashMap<K, V>
impl<A> Extendable<A> for ~[A]
impl Extendable<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
).