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.
Members
as_anyas_controlled_application_lifetimeas_single_view_application_lifetimeas_single_top_level_application_lifetimeas_activity_application_lifetimeas_setup_application_lifetimeas_classic_desktop_style_application_lifetime
as_any
fn as_any(self: &Self) -> &dyn Any
The lifetime as its concrete type.
as_controlled_application_lifetime
fn as_controlled_application_lifetime(self: &Self) -> Option<&dyn IControlledApplicationLifetime>
The lifetime as a controlled lifetime, if it is one.
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.
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.
as_activity_application_lifetime
fn as_activity_application_lifetime(self: &Self) -> Option<&dyn IActivityApplicationLifetime>
The lifetime as an activity lifetime, if it is one.
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.
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.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.