FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RefreshRequestedEventArgs

    struct · ferroui-controls · v0.5.0

    struct RefreshRequestedEventArgs
    

    Provides event data for RefreshRequested events.

    View source

    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.

    Source

    with_deferral

    fn with_deferral<T: ?Sized>(completion_deferral: Rc<RefreshCompletionDeferral>, routed_event: Option<&RoutedEvent<T>>) -> Self
    

    Creates args that share an existing deferral.

    Source

    get_deferral

    fn get_deferral(self: &Self) -> Rc<RefreshCompletionDeferral>
    

    Gets a deferral object for managing the work done in the RefreshRequested event handler.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • MarkupTyped
    • Clone
    • Deref
    • IRoutedEventArgs

    Availability

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