CodepointEnumerator
struct · ferroui-base · v0.5.0
struct CodepointEnumerator<'a>
Enumerates the codepoints of UTF-16 text.
Members
new
const fn new(text: &'a [u16]) -> Self
move_next
fn move_next(self: &mut Self) -> Option<Codepoint>
Moves to the next Codepoint.
Returns None at the end of the text (where upstream returns false
and sets the out value to the replacement codepoint).
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.