Struct std_prelude::str::Bytes 1.0.0
[−]
[src]
pub struct Bytes<'a>(_);
An iterator over the bytes of a string slice.
This struct is created by the bytes
method on str
.
See its documentation for more.
Trait Implementations
impl<'a> Debug for Bytes<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<'a> FusedIterator for Bytes<'a>
[src]
impl<'a> ExactSizeIterator for Bytes<'a>
[src]
impl<'a> Clone for Bytes<'a>
[src]
impl<'a> Iterator for Bytes<'a>
[src]
type Item = u8
fn next(&mut self) -> Option<u8>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> usize
[src]
fn last(self) -> Option<<Bytes<'a> as Iterator>::Item>
[src]
fn nth(&mut self, n: usize) -> Option<<Bytes<'a> as Iterator>::Item>
[src]
fn all<F>(&mut self, f: F) -> bool where
F: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,
[src]
F: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,
fn any<F>(&mut self, f: F) -> bool where
F: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,
[src]
F: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,
fn find<P>(&mut self, predicate: P) -> Option<<Bytes<'a> as Iterator>::Item> where
P: FnMut(&<Bytes<'a> as Iterator>::Item) -> bool,
[src]
P: FnMut(&<Bytes<'a> as Iterator>::Item) -> bool,
fn position<P>(&mut self, predicate: P) -> Option<usize> where
P: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,
[src]
P: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,
fn rposition<P>(&mut self, predicate: P) -> Option<usize> where
P: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,
[src]
P: FnMut(<Bytes<'a> as Iterator>::Item) -> bool,