Struct UnicodeWordIndices
pub struct UnicodeWordIndices<'a> { /* private fields */ }
An iterator over the substrings of a string which, after splitting the string on word boundaries, contain any characters with the Alphabetic property, or with General_Category=Number. This iterator also provides the byte offsets for each substring.
This struct is created by the unicode_word_indices method on the UnicodeSegmentation trait. See
its documentation for more.
Trait Implementations
impl<'a> Debug for UnicodeWordIndices<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> DoubleEndedIterator for UnicodeWordIndices<'a>
fn next_back(&mut self) -> Option<Self::Item>
impl<'a> Iterator for UnicodeWordIndices<'a>
type Item = (usize, &'a str);fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)