FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    set_current_schedule

    function · ferroui-system · v0.5.0

    fn set_current_schedule(schedule: Option<std::sync::Arc<dyn Schedule>>) -> Option<std::sync::Arc<dyn Schedule>>
    

    Makes schedule the schedule of the work that runs now on the current thread (current_schedule), and gives the previous one, which the caller restores when the work ends: for a schedule that runs work (a dispatcher sets it around each job).

    View source

    Availability

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