Struct UnicodeSentences

pub struct UnicodeSentences<'a> { /* private fields */ }

An iterator over the substrings of a string which, after splitting the string on sentence boundaries, contain any characters with the Alphabetic property, or with General_Category=Number.

This struct is created by the unicode_sentences method on the UnicodeSegmentation trait. See its documentation for more.

Trait Implementations

impl<'a> Clone for UnicodeSentences<'a>

fn clone(&self) -> Self

impl<'a> Debug for UnicodeSentences<'a>

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

impl<'a> Iterator for UnicodeSentences<'a>

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

Auto Trait Implementations

impl<'a> Freeze for UnicodeSentences<'a>

impl<'a> RefUnwindSafe for UnicodeSentences<'a>

impl<'a> Send for UnicodeSentences<'a>

impl<'a> Sync for UnicodeSentences<'a>

impl<'a> Unpin for UnicodeSentences<'a>

impl<'a> UnsafeUnpin for UnicodeSentences<'a>

impl<'a> UnwindSafe for UnicodeSentences<'a>

Blanket Implementations

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

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

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

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

impl<T> CloneToUninit for UnicodeSentences<'a> where T: Clone,

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

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

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

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