pub struct ApplicationLifetime { /* private fields */ }Expand description
The lifetime of an Android application: every main activity asks the factory for its main view.
Implementations§
Trait Implementations§
Source§impl Default for ApplicationLifetime
impl Default for ApplicationLifetime
Source§impl IApplicationLifetime for ApplicationLifetime
impl IApplicationLifetime for ApplicationLifetime
Source§fn as_single_view_application_lifetime(
&self,
) -> Option<&dyn ISingleViewApplicationLifetime>
fn as_single_view_application_lifetime( &self, ) -> Option<&dyn ISingleViewApplicationLifetime>
The lifetime as a single view lifetime, if it is one.
Source§fn as_activity_application_lifetime(
&self,
) -> Option<&dyn IActivityApplicationLifetime>
fn as_activity_application_lifetime( &self, ) -> Option<&dyn IActivityApplicationLifetime>
The lifetime as an activity lifetime, if it is one.
Source§fn as_controlled_application_lifetime(
&self,
) -> Option<&dyn IControlledApplicationLifetime>
fn as_controlled_application_lifetime( &self, ) -> Option<&dyn IControlledApplicationLifetime>
The lifetime as a controlled lifetime, if it is one.
Source§fn as_single_top_level_application_lifetime(
&self,
) -> Option<&dyn ISingleTopLevelApplicationLifetime>
fn as_single_top_level_application_lifetime( &self, ) -> Option<&dyn ISingleTopLevelApplicationLifetime>
The lifetime as a single top-level lifetime, if it is one.
Source§fn as_setup_application_lifetime(
&self,
) -> Option<&dyn ISetupApplicationLifetime>
fn as_setup_application_lifetime( &self, ) -> Option<&dyn ISetupApplicationLifetime>
The lifetime as a lifetime that takes part in the setup of the
application, if it is one.
Source§fn as_classic_desktop_style_application_lifetime(
&self,
) -> Option<&dyn IClassicDesktopStyleApplicationLifetime>
fn as_classic_desktop_style_application_lifetime( &self, ) -> Option<&dyn IClassicDesktopStyleApplicationLifetime>
The lifetime as a classic desktop style lifetime, if it is one.
Auto Trait Implementations§
impl !Freeze for ApplicationLifetime
impl !RefUnwindSafe for ApplicationLifetime
impl !Send for ApplicationLifetime
impl !Sync for ApplicationLifetime
impl !UnwindSafe for ApplicationLifetime
impl Unpin for ApplicationLifetime
impl UnsafeUnpin for ApplicationLifetime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more