@@ -19,6 +19,12 @@ use tables::word::WordCat;
1919/// [Alphabetic](http://unicode.org/reports/tr44/#Alphabetic)
2020/// property, or with
2121/// [General_Category=Number](http://unicode.org/reports/tr44/#General_Category_Values).
22+ ///
23+ /// This struct is created by the [`unicode_words`] method on the [`UnicodeSegmentation`] trait. See
24+ /// its documentation for more.
25+ ///
26+ /// [`unicode_words`]: trait.UnicodeSegmentation.html#tymethod.unicode_words
27+ /// [`UnicodeSegmentation`]: trait.UnicodeSegmentation.html
2228pub struct UnicodeWords < ' a > {
2329 inner : Filter < UWordBounds < ' a > , fn ( & & str ) -> bool > ,
2430}
@@ -36,6 +42,12 @@ impl<'a> DoubleEndedIterator for UnicodeWords<'a> {
3642
3743/// External iterator for a string's
3844/// [word boundaries](http://www.unicode.org/reports/tr29/#Word_Boundaries).
45+ ///
46+ /// This struct is created by the [`split_word_bounds`] method on the [`UnicodeSegmentation`]
47+ /// trait. See its documentation for more.
48+ ///
49+ /// [`split_word_bounds`]: trait.UnicodeSegmentation.html#tymethod.split_word_bounds
50+ /// [`UnicodeSegmentation`]: trait.UnicodeSegmentation.html
3951#[ derive( Clone ) ]
4052pub struct UWordBounds < ' a > {
4153 string : & ' a str ,
@@ -44,6 +56,12 @@ pub struct UWordBounds<'a> {
4456}
4557
4658/// External iterator for word boundaries and byte offsets.
59+ ///
60+ /// This struct is created by the [`split_word_bound_indices`] method on the
61+ /// [`UnicodeSegmentation`] trait. See its documentation for more.
62+ ///
63+ /// [`split_word_bound_indices`]: trait.UnicodeSegmentation.html#tymethod.split_word_bound_indices
64+ /// [`UnicodeSegmentation`]: trait.UnicodeSegmentation.html
4765#[ derive( Clone ) ]
4866pub struct UWordBoundIndices < ' a > {
4967 start_offset : usize ,
0 commit comments