Struct collections::str::BytesStable [-]  [+] [src]

pub struct Bytes<'a>(_);

External iterator for a string's bytes. Use with the std::iter module.

Created with StrExt::bytes

Trait Implementations

impl<'a> Iterator<u8> for Bytes<'a>

fn next(&mut self) -> Option<u8>

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

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

impl<'a> DoubleEndedIterator<u8> for Bytes<'a>

fn next_back(&mut self) -> Option<u8>

impl<'a> ExactSizeIterator<u8> for Bytes<'a>

fn rposition<P>(&mut self, predicate: P) -> Option<uint>

fn len(&self) -> uint

fn rposition<P>(&mut self, P) -> Option<uint>

fn len(&self) -> uint

Derived Implementations

impl<'a> Clone for Bytes<'a>

fn clone(&self) -> Bytes<'a>

fn clone_from(&mut self, &Bytes<'a>)