BuildTreeScheduler
struct · ferroui-controls-repeater · v0.5.0
struct BuildTreeScheduler
Schedules phased binding work against the framework's rendering clock and yields after the same 40 ms work budget as the source implementation.
Members
register_work
fn register_work(priority: i32, callback: impl FnOnce() -> () + 'static) -> Rc<dyn IDisposable>
Registers work for a rendering frame. Disposing the returned handle cancels it until invocation starts, including from another callback in the same frame. Dropping the handle does not cancel the work.
should_yield
fn should_yield() -> bool
pending_work_count
fn pending_work_count() -> usize
budget_milliseconds
fn budget_milliseconds() -> f64
set_budget_milliseconds
fn set_budget_milliseconds(value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.