Struct std::c_str::CCharsExperimental [-]  [+] [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(&mut self) -> Option<i8>

fn size_hint(&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| -> B) -> Map<'r, i8, B, CChars<'a>>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

fn count(&mut self) -> uint

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

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

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

fn position(&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>