RefreshCompletionDeferral
struct · ferroui-controls · v0.5.0
struct RefreshCompletionDeferral
Deferral class for notify that a work done in RefreshRequested event is done.
Members
new
fn new(deferred_action: impl Fn() -> () + 'static) -> Rc<Self>
Creates a deferral that runs deferred_action when every deferral
taken with get has been completed.
from_action
fn from_action(deferred_action: Option<Rc<dyn Fn() -> ()>>) -> Rc<Self>
Creates a deferral for an action that may be absent.
complete
fn complete(self: &Self)
get
fn get(self: &Rc<Self>) -> Rc<Self>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.