FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RichInlineItem

    struct · ferroui-pretext · v0.5.0

    struct RichInlineItem
    

    View source

    Members

    text

    text: String
    

    Source

    font

    font: String
    

    Source

    break_mode

    break_mode: RichInlineBreakMode
    

    Source

    extra_width

    extra_width: f64
    

    Source

    new

    fn new(text: impl Into<String>, font: impl Into<String>) -> Self
    

    Source

    with_break_mode

    fn with_break_mode(self: Self, break_mode: RichInlineBreakMode) -> Self
    

    Source

    with_extra_width

    fn with_extra_width(self: Self, extra_width: f64) -> Self
    

    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
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

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