Struct USentenceBoundIndices
pub struct USentenceBoundIndices<'a> { /* private fields */ }
External iterator for sentence boundaries and byte offsets.
This struct is created by the split_sentence_bound_indices method on the
UnicodeSegmentation trait. See its documentation for more.
Trait Implementations
impl<'a> Clone for USentenceBoundIndices<'a>
fn clone(&self) -> Self
impl<'a> Debug for USentenceBoundIndices<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> Iterator for USentenceBoundIndices<'a>
type Item = (usize, &'a str);fn next(&mut self) -> Option<(usize, &'a str)>fn size_hint(&self) -> (usize, Option<usize>)