FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IApplicationLifetime

    trait · ferroui-controls · v0.5.0

    trait IApplicationLifetime
    

    The lifetime of an application: the object that decides when the application starts and ends and what its main view is.

    The more specific lifetime contracts are reached through the as_* methods, which a lifetime overrides for every contract it implements, or through as_any for a concrete lifetime type.

    View source

    Members

    as_any

    fn as_any(self: &Self) -> &dyn Any
    

    The lifetime as its concrete type.

    Source

    as_controlled_application_lifetime

    fn as_controlled_application_lifetime(self: &Self) -> Option<&dyn IControlledApplicationLifetime>
    

    The lifetime as a controlled lifetime, if it is one.

    Source

    as_single_view_application_lifetime

    fn as_single_view_application_lifetime(self: &Self) -> Option<&dyn ISingleViewApplicationLifetime>
    

    The lifetime as a single view lifetime, if it is one.

    Source

    as_single_top_level_application_lifetime

    fn as_single_top_level_application_lifetime(self: &Self) -> Option<&dyn super::ISingleTopLevelApplicationLifetime>
    

    The lifetime as a single top-level lifetime, if it is one.

    Source

    as_activity_application_lifetime

    fn as_activity_application_lifetime(self: &Self) -> Option<&dyn IActivityApplicationLifetime>
    

    The lifetime as an activity lifetime, if it is one.

    Source

    as_setup_application_lifetime

    fn as_setup_application_lifetime(self: &Self) -> Option<&dyn ISetupApplicationLifetime>
    

    The lifetime as a lifetime that takes part in the setup of the application, if it is one.

    Source

    as_classic_desktop_style_application_lifetime

    fn as_classic_desktop_style_application_lifetime(self: &Self) -> Option<&dyn super::IClassicDesktopStyleApplicationLifetime>
    

    The lifetime as a classic desktop style lifetime, if it is one.

    Source

    Trait implementations

    Availability

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