FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RefreshCompletionDeferral

    struct · ferroui-controls · v0.5.0

    struct RefreshCompletionDeferral
    

    Deferral class for notify that a work done in RefreshRequested event is done.

    View source

    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.

    Source

    from_action

    fn from_action(deferred_action: Option<Rc<dyn Fn() -> ()>>) -> Rc<Self>
    

    Creates a deferral for an action that may be absent.

    Source

    complete

    fn complete(self: &Self)
    

    Source

    get

    fn get(self: &Rc<Self>) -> Rc<Self>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • PartialEq

    Availability

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