FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GraphemeEnumerator

    struct · ferroui-base · v0.5.0

    struct GraphemeEnumerator<'a>
    

    Enumerates the grapheme clusters of UTF-16 text.

    View source

    Members

    new

    const fn new(text: &'a [u16]) -> Self
    

    Source

    move_next

    fn move_next(self: &mut Self) -> Option<Grapheme>
    

    Moves to the next Grapheme.

    Returns None at the end of the text.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • IntoIterator
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • Iterator

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.