Struct device_tree::util::str::Bytes [] [src]

pub struct Bytes<'a>(_);
1.0.0

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

Created with the method 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 count(self) -> usize

fn last(self) -> Option<Bytes<'a>::Item>

fn nth(&mut self, n: usize) -> Option<Bytes<'a>::Item>

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

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

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

fn len(&self) -> usize

Derived Implementations

impl<'a> Debug for Bytes<'a>

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

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

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