FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    use_resource

    function · ferroui-view · v0.5.0

    fn use_resource(key: &str) -> Option<ferroui_base::BoxedValue>
    

    The resource key as the control the component is mounted in finds it (its resources, those of its ancestors, the application's and the theme's, for its theme variant), as it is now; the component runs again when it changes (another theme variant, a resource dictionary changed).

    View source

    Availability

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