Searched refs:WordsWithBreaks (Results 1 – 4 of 4) sorted by relevance
29 pub struct Words<'a>(WordsWithBreaks<'a>);33 Words(WordsWithBreaks::new(bs)) in new()171 pub struct WordsWithBreaks<'a> { struct175 impl<'a> WordsWithBreaks<'a> { implementation176 pub(crate) fn new(bs: &'a [u8]) -> WordsWithBreaks<'a> { in new()177 WordsWithBreaks { bs } in new()208 impl<'a> Iterator for WordsWithBreaks<'a> { implementation
5 WordIndices, Words, WordsWithBreakIndices, WordsWithBreaks,
402 Words, WordsWithBreakIndices, WordsWithBreaks,
21 WordsWithBreaks,1924 fn words_with_breaks(&self) -> WordsWithBreaks { in words_with_breaks() argument1925 WordsWithBreaks::new(self.as_bytes()) in words_with_breaks()