FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    use_xaml

    function · ferroui-view · v0.5.0

    fn use_xaml(text: &str) -> ferroui_base::Ref<ferroui_controls::Control>
    

    The control of XAML text, loaded on the first run of the component and kept: Element::Existing(use_xaml(..)) keeps its control on every run. A text that starts with ferres:// is a URI.

    Panics

    Panics with the message of the loader when the XAML does not load.

    View source

    Availability

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