Struct peel_ip::prelude::str::Bytes 1.0.0
[−]
[src]
pub struct Bytes<'a>(_);
External iterator for a string's bytes.
Use with the std::iter
module.
Created with the method bytes()
.
Trait Implementations
impl<'a> FusedIterator for Bytes<'a>
[src]
impl<'a> ExactSizeIterator for Bytes<'a>
[src]
impl<'a> Debug for Bytes<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<'a> Iterator for Bytes<'a>
[src]
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> Clone for Bytes<'a>
[src]
fn clone(&self) -> Bytes<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more