Struct device_tree::util::str::CharIndices
[−]
[src]
pub struct CharIndices<'a> { // some fields omitted }1.0.0
Iterator for a string's characters and their byte offsets.
Methods
impl<'a> CharIndices<'a>
fn as_str(&self) -> &'a str
1.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.