WordBreakEnumerator
struct · ferroui-base · v0.5.0
struct WordBreakEnumerator<'a>
Enumerates Unicode word-boundary segments.
Members
new
const fn new(text: &'a [u16]) -> Self
move_next
fn move_next(self: &mut Self) -> Option<WordSegment<'a>>
Moves to the next WordSegment.
Returns the current word-boundary segment, or None at the end of the text.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyIntoIteratorToOwnedErasedDestructorIntoEitherCloneDebugIterator
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.