FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InlinesTextSource

    struct · ferroui-controls · v0.5.0

    struct InlinesTextSource
    

    A text source of the text runs of inlines, with optional run property overrides for ranges of the text.

    View source

    Members

    new

    fn new(text_runs: Rc<Vec<Rc<dyn TextRun>>>, text_modifier: Option<Rc<[ValueSpan<Rc<dyn TextRunProperties>>]>>) -> Self
    

    Source

    text_runs

    fn text_runs(self: &Self) -> &Rc<Vec<Rc<dyn TextRun>>>
    

    The text runs of the source.

    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
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • ITextSource

    Availability

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