Struct device_tree::util::str::CharRange
[−]
[src]
pub struct CharRange {
pub ch: char,
pub next: usize,
}str_char): existence of this struct is uncertain as it is frequently able to be replaced with char.len_utf8() and/or char/char_indices iterators
Struct that contains a char and the index of the first byte of
the next char in a string. This can be used as a data structure
for iterating over the UTF-8 bytes of a string.
Fields
ch | Unstable ( str_char): existence of this struct is uncertain as it is frequently able to be replaced with char.len_utf8() and/or char/char_indices iterators Current |
next | Unstable ( str_char): existence of this struct is uncertain as it is frequently able to be replaced with char.len_utf8() and/or char/char_indices iterators Index of the first byte of the next |
Trait Implementations
Derived Implementations
impl Debug for CharRange
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
str_char): existence of this struct is uncertain as it is frequently able to be replaced with char.len_utf8() and/or char/char_indices iterators
impl Clone for CharRange
fn clone(&self) -> CharRange
str_char): existence of this struct is uncertain as it is frequently able to be replaced with char.len_utf8() and/or char/char_indices iterators