GraphemeEnumerator
struct · ferroui-base · v0.5.0
struct GraphemeEnumerator<'a>
Enumerates the grapheme clusters of UTF-16 text.
Members
new
const fn new(text: &'a [u16]) -> Self
move_next
fn move_next(self: &mut Self) -> Option<Grapheme>
Moves to the next Grapheme.
Returns 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.