FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextAttribute

    enum · ferroui-controls · v0.5.0

    enum TextAttribute
    

    Formatting attributes available through the portable text pattern. Font size and paragraph measurements are in typographic points (72 points per inch). Unknown native attributes retain their identifier and return NotSupported.

    View source

    Members

    FontName

    FontName
    

    Source

    FontSize

    FontSize
    

    Source

    FontWeight

    FontWeight
    

    Source

    IsItalic

    IsItalic
    

    Source

    IsReadOnly

    IsReadOnly
    

    Source

    IsHidden

    IsHidden
    

    Source

    ForegroundColor

    ForegroundColor
    

    Source

    BackgroundColor

    BackgroundColor
    

    Source

    UnderlineColor

    UnderlineColor
    

    Source

    UnderlineStyle

    UnderlineStyle
    

    Source

    OverlineColor

    OverlineColor
    

    Source

    OverlineStyle

    OverlineStyle
    

    Source

    StrikethroughColor

    StrikethroughColor
    

    Source

    StrikethroughStyle

    StrikethroughStyle
    

    Source

    IsSubscript

    IsSubscript
    

    Source

    IsSuperscript

    IsSuperscript
    

    Source

    HorizontalTextAlignment

    HorizontalTextAlignment
    

    Source

    IndentationFirstLine

    IndentationFirstLine
    

    Source

    IndentationLeading

    IndentationLeading
    

    Source

    IndentationTrailing

    IndentationTrailing
    

    Source

    MarginTop

    MarginTop
    

    Source

    MarginBottom

    MarginBottom
    

    Source

    MarginLeading

    MarginLeading
    

    Source

    MarginTrailing

    MarginTrailing
    

    Source

    TextFlowDirections

    TextFlowDirections
    

    Source

    Unknown

    Unknown(i32)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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