RefreshRequestedEventArgs
struct · ferroui-controls · v0.5.0
struct RefreshRequestedEventArgs
Provides event data for RefreshRequested events.
Members
new
fn new<T: ?Sized>(deferred_action: impl Fn() -> () + 'static, routed_event: Option<&RoutedEvent<T>>) -> Self
Creates args whose deferral runs deferred_action once completed.
with_deferral
fn with_deferral<T: ?Sized>(completion_deferral: Rc<RefreshCompletionDeferral>, routed_event: Option<&RoutedEvent<T>>) -> Self
Creates args that share an existing deferral.
get_deferral
fn get_deferral(self: &Self) -> Rc<RefreshCompletionDeferral>
Gets a deferral object for managing the work done in the RefreshRequested event handler.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherMarkupTypedCloneDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.