pub fn unzip<T, U, V: Iterator<(T, U)>>(iter: V) -> (~[T], ~[U])
Convert an iterator of pairs into a pair of vectors.
Returns a tuple containing two vectors where the i-th element of the first vector contains the first element of the i-th tuple of the input iterator, and the i-th element of the second vector contains the second element of the i-th tuple of the input iterator.
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
).