FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    with_sources

    function · ferroui-markup-xaml · v0.5.0

    fn with_sources<T>(sources: std::rc::Rc<Sources>, action: impl FnOnce() -> T) -> T
    

    Restores the prior snapshot on normal return and unwind. Never transfers UI objects across threads.

    View source

    Availability

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