FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextGravity

    enum · ferroui-controls · v0.5.0

    enum TextGravity
    

    Affinity at an insertion boundary. Backward stays before inserted content; Forward moves after it. Offsets are UTF-16 code units, never UTF-8 bytes.

    View source

    Members

    Backward

    Backward = 0
    

    Source

    Forward

    Forward = 1
    

    Source

    Trait implementations

    Availability

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