Struct std::c_str::CChars[src]

pub struct CChars<'a> {
    // some fields omitted
}

External iterator for a CString's bytes.

Use with the std::iter module.

Trait Implementations

impl<'a> Iterator<i8> for CChars<'a>

fn next<'a>(&mut self) -> Option<i8>

fn size_hint<'a>(&self) -> (uint, Option<uint>)

fn chain<U: Iterator<i8>>(self, U) -> Chain<CChars<'a>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<CChars<'a>, U>

fn map<B>(self, |i8|: 'r -> B) -> Map<'r, i8, B, CChars<'a>>

fn filter<'a>(self, |&i8|: 'r -> bool) -> Filter<'r, i8, CChars<'a>>

fn filter_map<B>(self, |i8|: 'r -> Option<B>) -> FilterMap<'r, i8, B, CChars<'a>>

fn enumerate<'a>(self) -> Enumerate<CChars<'a>>

fn peekable<'a>(self) -> Peekable<i8, CChars<'a>>

fn skip_while<'a>(self, |&i8|: 'r -> bool) -> SkipWhile<'r, i8, CChars<'a>>

fn take_while<'a>(self, |&i8|: 'r -> bool) -> TakeWhile<'r, i8, CChars<'a>>

fn skip<'a>(self, uint) -> Skip<CChars<'a>>

fn take<'a>(self, uint) -> Take<CChars<'a>>

fn scan<St, B>(self, St, |&mut St, i8|: 'r -> Option<B>) -> Scan<'r, i8, B, CChars<'a>, St>

fn flat_map<B, U: Iterator<B>>(self, |i8|: 'r -> U) -> FlatMap<'r, i8, CChars<'a>, U>

fn fuse<'a>(self) -> Fuse<CChars<'a>>

fn inspect<'a>(self, |&i8|: 'r) -> Inspect<'r, i8, CChars<'a>>

fn by_ref<'a>(&'r mut self) -> ByRef<'r, CChars<'a>>

fn advance<'a>(&mut self, |i8| -> bool) -> bool

fn collect<B: FromIterator<i8>>(&mut self) -> B

fn nth<'a>(&mut self, uint) -> Option<i8>

fn last<'a>(&mut self) -> Option<i8>

fn fold<B>(&mut self, B, |B, i8| -> B) -> B

fn count<'a>(&mut self) -> uint

fn all<'a>(&mut self, |i8| -> bool) -> bool

fn any<'a>(&mut self, |i8| -> bool) -> bool

fn find<'a>(&mut self, |&i8| -> bool) -> Option<i8>

fn position<'a>(&mut self, |i8| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&i8| -> B) -> Option<i8>

fn min_by<B: Ord>(&mut self, |&i8| -> B) -> Option<i8>