Struct UnicodeWords

pub struct UnicodeWords<'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 struct is created by the unicode_words method on the UnicodeSegmentation trait. See its documentation for more.

Trait Implementations

impl<'a> Debug for UnicodeWords<'a>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a> DoubleEndedIterator for UnicodeWords<'a>

fn next_back(&mut self) -> Option<Self::Item>

impl<'a> Iterator for UnicodeWords<'a>

type Item = &'a str;
fn next(&mut self) -> Option<Self::Item>
fn size_hint(&self) -> (usize, Option<usize>)

Auto Trait Implementations

impl<'a> Freeze for UnicodeWords<'a>

impl<'a> RefUnwindSafe for UnicodeWords<'a>

impl<'a> Send for UnicodeWords<'a>

impl<'a> Sync for UnicodeWords<'a>

impl<'a> Unpin for UnicodeWords<'a>

impl<'a> UnsafeUnpin for UnicodeWords<'a>

impl<'a> UnwindSafe for UnicodeWords<'a>

Blanket Implementations

impl<I> IntoIterator for UnicodeWords<'a> where I: Iterator,

impl<T> Any for UnicodeWords<'a> where T: 'static + ?Sized,

impl<T> Borrow<T> for UnicodeWords<'a> where T: ?Sized,

impl<T> BorrowMut<T> for UnicodeWords<'a> where T: ?Sized,

impl<T> From<T> for UnicodeWords<'a>

impl<T, U> Into<U> for UnicodeWords<'a> where U: From<T>,

impl<T, U> TryFrom<U> for UnicodeWords<'a> where U: Into<T>,

impl<T, U> TryInto<U> for UnicodeWords<'a> where U: TryFrom<T>,