FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextPresenterImpl

    trait · ferroui-controls · v0.5.0

    trait TextPresenterImpl: ControlImpl + $crate::Upcast<TextPresenter>
    

    The overridable members introduced by the class.

    View source

    Members

    create_text_layout

    fn create_text_layout(this: &Self) -> Rc<TextLayout>
    

    Creates the TextLayout used to render the text.

    Source

    invalidate_text_layout

    fn invalidate_text_layout(this: &Self)
    

    Drops the text layout and the shaped runs it was built from.

    Source

    Trait implementations

    Availability

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