Struct std::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 for Bytes<'a>

type Item = u8

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

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

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

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

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

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

fn len(&self) -> usize

fn len(&self) -> usize

Derived Implementations

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

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

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