# ClassicDesktopStyleApplicationLifetimeTopLevelGroup

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-diagnostics/diagnostics/struct-classicdesktopstyleapplicationlifetimetoplevelgroup/

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

```rust
struct ClassicDesktopStyleApplicationLifetimeTopLevelGroup
```

The windows of an application with a classic desktop lifetime.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/i_dev_tools_top_level_group.rs#L38)

## Members

- [`new`](#function-new)
- [`lifetime`](#function-lifetime)

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

### new

```rust
fn new(lifetime: Rc<dyn IApplicationLifetime>) -> Self
```

The group of the windows of `lifetime`.
## Panics
When `lifetime` is not an `IClassicDesktopStyleApplicationLifetime` (the original takes
one and throws on null).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/i_dev_tools_top_level_group.rs#L48)

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

### lifetime

```rust
fn lifetime(self: &Self) -> &dyn IClassicDesktopStyleApplicationLifetime
```

The lifetime of the group.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/i_dev_tools_top_level_group.rs#L57)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`IDevToolsTopLevelGroup`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/trait-idevtoolstoplevelgroup/)

## Availability

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