FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LineSpacingRule

    enum · ferroui-controls · v0.5.0

    enum LineSpacingRule
    

    The rich text object model's line-spacing rules. Distances are expressed in FerroUI layout units; Multiple is a multiplier and Percent a percentage. See the pinned Microsoft.UI.Text contract in docs/porting/winui-rich-text.

    View source

    Members

    Undefined

    Undefined = 0
    

    No override: use the block's LineHeight and LineStackingStrategy.

    Source

    Single

    Single = 1
    

    Source

    OneAndHalf

    OneAndHalf = 2
    

    Source

    Double

    Double = 3
    

    Source

    AtLeast

    AtLeast = 4
    

    Source

    Exactly

    Exactly = 5
    

    Source

    Multiple

    Multiple = 6
    

    Source

    Percent

    Percent = 7
    

    Source

    Trait implementations

    Availability

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