FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RxSuspension

    struct · ferroui-reactiveui · v0.5.0

    struct RxSuspension
    

    The suspension host of the application, for the events of the life of its process, such as its suspension and resumption on a mobile device (RxSuspension).

    Unless the builder of the application published a host, the first read creates a default SuspensionHost; the first host published wins.

    View source

    Members

    suspension_host

    fn suspension_host() -> Rc<dyn ISuspensionHost>
    

    The suspension host (SuspensionHost): the published one, or a default one created now.

    Source

    initialize_suspension_host

    fn initialize_suspension_host(suspension_host: Rc<dyn ISuspensionHost>)
    

    Publishes suspension_host when no host is published yet (InitializeSuspensionHost), which the builder of the application calls.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any

    Availability

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