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

pub struct Chars<'a> {
    // some fields omitted
}
1.0.0

Iterator for the char (representing Unicode Scalar Values) of a string

Created with the method chars().

Methods

impl<'a> Chars<'a>

fn as_str(&self) -> &'a str1.4.0

View the underlying data as a subslice of the original data.

This has the same lifetime as the original slice, and so the iterator can continue to be used while this exists.

Trait Implementations

impl<'a> Iterator for Chars<'a>

type Item = char

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

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

impl<'a> DoubleEndedIterator for Chars<'a>

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

Derived Implementations

impl<'a> Debug for Chars<'a>

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

impl<'a> Clone for Chars<'a>

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