pub trait DeferWithRedraw<T: 'static> {
// Required method
fn defer_with_redraw(self, f: impl DeferCallback<T>);
}Expand description
Extension only aviailable when the UiRunner is used with a Widget.
Required Methods§
Sourcefn defer_with_redraw(self, f: impl DeferCallback<T>)
fn defer_with_redraw(self, f: impl DeferCallback<T>)
Same as defer but calls redraw on the widget after the closure is run.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.