Interface base_iter

Method each

fn each(blk: fn(A) -> bool)

Method size_hint

fn size_hint() -> option<uint>

Interface times

Method times

fn times(it: fn() -> bool)

Function all

fn all<A, IA: base_iter<A>>(self: IA, blk: fn(A) -> bool) -> bool

Function any

fn any<A, IA: base_iter<A>>(self: IA, blk: fn(A) -> bool) -> bool

Function contains

fn contains<A, IA: base_iter<A>>(self: IA, x: A) -> bool

Function count

fn count<A, IA: base_iter<A>>(self: IA, x: A) -> uint

Function eachi

fn eachi<A, IA: base_iter<A>>(self: IA, blk: fn(uint, A) -> bool)

Function filter_to_vec

fn filter_to_vec<A: copy, IA: base_iter<A>>(self: IA, prd: fn(A) -> bool) ->
   ~[A]

Function flat_map_to_vec

fn flat_map_to_vec<A: copy, B: copy, IA: base_iter<A>,
                   IB: base_iter<B>>(self: IA, op: fn(A) -> IB) -> ~[B]

Function foldl

fn foldl<A, B, IA: base_iter<A>>(self: IA, +b0: B, blk: fn(B, A) -> B) -> B

Function map_to_vec

fn map_to_vec<A: copy, B, IA: base_iter<A>>(self: IA, op: fn(A) -> B) -> ~[B]

Function max

fn max<A: copy, IA: base_iter<A>>(self: IA) -> A

Function min

fn min<A: copy, IA: base_iter<A>>(self: IA) -> A

Function position

fn position<A, IA: base_iter<A>>(self: IA, f: fn(A) -> bool) -> option<uint>

Function repeat

fn repeat(times: uint, blk: fn() -> bool)

Function to_vec

fn to_vec<A: copy, IA: base_iter<A>>(self: IA) -> ~[A]