# ISetupApplicationLifetime

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/application_lifetimes/trait-isetupapplicationlifetime/

**trait** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

```rust
trait ISetupApplicationLifetime
```

A lifetime that is notified while the application builder sets the
application up.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application_lifetimes/i_setup_application_lifetime.rs#L3)

## Members

- [`before_app_init`](#function-before_app_init)
- [`after_app_init`](#function-after_app_init)

<a id="function-before_app_init"></a>

### before_app_init

```rust
fn before_app_init(self: &Self)
```

Called before the platform services are set up and the application is
created.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application_lifetimes/i_setup_application_lifetime.rs#L6)

<a id="function-after_app_init"></a>

### after_app_init

```rust
fn after_app_init(self: &Self)
```

Called after the application has been created and initialized.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application_lifetimes/i_setup_application_lifetime.rs#L9)

## Trait implementations

- [`ISetupApplicationLifetime`](/docs/0.5.0/api/ferroui-controls/application_lifetimes/trait-isetupapplicationlifetime/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
