# Application

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/struct-application/

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

```rust
struct Application
```

Encapsulates a FerroUI application.

The [`Application`](/docs/0.5.0/api/ferroui-controls/struct-application/) class encapsulates application-specific
functionality, including:
- A global set of `data_templates`.
- A global set of `styles`.
- An input manager.
- Registers services needed by the rest of the framework in the
  `register_services` method.
- Tracks the lifetime of the application.

An application class derives from it and overrides the members of
[`ApplicationImpl`](/docs/0.5.0/api/ferroui-controls/trait-applicationimpl/):

```ignore
#[repr(C)]
pub struct App { base: Application }

ferro_class!(App: Application);
ferro_impl_classes!(App: FerroObjectImpl);

impl ApplicationImpl for App {
    fn initialize(this: &Self) {
        this.styles().add(theme());
    }
}

impl NewApplication for App {
    fn new_application() -> Ref<Self> {
        instantiate(Self { base: Application::construct() })
    }
}
```

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

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`initialize`](#function-initialize)
- [`register_services`](#function-register_services)
- [`on_framework_initialization_completed`](#function-on_framework_initialization_completed)
- [`data_context_property`](#function-data_context_property)
- [`actual_theme_variant_property`](#function-actual_theme_variant_property)
- [`requested_theme_variant_property`](#function-requested_theme_variant_property)
- [`name_property`](#function-name_property)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`data_context`](#function-data_context)
- [`set_data_context`](#function-set_data_context)
- [`requested_theme_variant`](#function-requested_theme_variant)
- [`set_requested_theme_variant`](#function-set_requested_theme_variant)
- [`actual_theme_variant`](#function-actual_theme_variant)
- [`is_theme_variant_root`](#function-is_theme_variant_root)
- [`current`](#function-current)
- [`bind_current`](#function-bind_current)
- [`data_templates`](#function-data_templates)
- [`is_data_templates_initialized`](#function-is_data_templates_initialized)
- [`input_manager`](#function-input_manager)
- [`resources`](#function-resources)
- [`set_resources`](#function-set_resources)
- [`styles`](#function-styles)
- [`is_styles_initialized`](#function-is_styles_initialized)
- [`has_resources`](#function-has_resources)
- [`styling_parent`](#function-styling_parent)
- [`application_lifetime`](#function-application_lifetime)
- [`set_application_lifetime`](#function-set_application_lifetime)
- [`platform_settings`](#function-platform_settings)
- [`resources_changed`](#function-resources_changed)
- [`actual_theme_variant_changed`](#function-actual_theme_variant_changed)
- [`try_get_resource`](#function-try_get_resource)
- [`name`](#function-name)
- [`set_name`](#function-set_name)
- [`try_get_feature`](#function-try_get_feature)
- [`try_get`](#function-try_get)
- [`initialize_theme_variant`](#function-initialize_theme_variant)
- [`as_global_styles`](#function-as_global_styles)
- [`as_style_host`](#function-as_style_host)
- [`as_resource_host`](#function-as_resource_host)
- [`as_theme_variant_host`](#function-as_theme_variant_host)
- [`as_global_data_templates`](#function-as_global_data_templates)
- [`as_optional_feature_provider`](#function-as_optional_feature_provider)
- [`as_theme_variant_root`](#function-as_theme_variant_root)
- [`as_data_context_provider`](#function-as_data_context_provider)
- [`run`](#function-run)
- [`run_window`](#function-run_window)
- [`run_with_token`](#function-run_with_token)
- [`run_with_main_window`](#function-run_with_main_window)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L76)

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

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<Application>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L76)

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

### initialize

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

Initializes the application by loading its styles and resources.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L76)

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

### register_services

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

Registers the services needed by the framework.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L76)

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

### on_framework_initialization_completed

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

Called when the framework has completed its initialization: the
place to create the main window or view of the lifetime.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L76)

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

### data_context_property

```rust
fn data_context_property() -> &'static StyledProperty<Option<BoxedValue>>
```

Defines the `DataContext` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L185)

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

### actual_theme_variant_property

```rust
fn actual_theme_variant_property() -> &'static StyledProperty<Option<ThemeVariant>>
```

Defines the `ActualThemeVariant` property: the UI theme variant
that is currently used by the application.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L185)

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

### requested_theme_variant_property

```rust
fn requested_theme_variant_property() -> &'static StyledProperty<Option<ThemeVariant>>
```

Defines the `RequestedThemeVariant` property: the UI theme
variant that is requested for the application.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L185)

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

### name_property

```rust
fn name_property() -> &'static DirectProperty<Application, Option<String>>
```

Defines the `Name` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L185)

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

### construct

```rust
fn construct() -> Self
```

Creates the class data; see `FerroObject::construct`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L226)

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

### new

```rust
fn new() -> Ref<Self>
```

Creates an instance of the `Application` class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L238)

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

### data_context

```rust
fn data_context(self: &Self) -> Option<BoxedValue>
```

The application's data context.

The data context property specifies the default object that will be
used for data binding.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L246)

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

### set_data_context

```rust
fn set_data_context(self: &Self, value: Option<BoxedValue>)
```

Sets the application's data context.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L251)

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

### requested_theme_variant

```rust
fn requested_theme_variant(self: &Self) -> Option<ThemeVariant>
```

The UI theme variant that is requested for the application.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L256)

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

### set_requested_theme_variant

```rust
fn set_requested_theme_variant(self: &Self, value: Option<ThemeVariant>)
```

Sets the UI theme variant that is requested for the application.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L261)

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

### actual_theme_variant

```rust
fn actual_theme_variant(self: &Self) -> Option<ThemeVariant>
```

The UI theme variant that is currently used by the application.

`None` until the services of the application have been registered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L268)

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

### is_theme_variant_root

```rust
fn is_theme_variant_root(self: &Self) -> bool
```

The application is the root of the theme variant resolution.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L273)

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

### current

```rust
fn current() -> Option<Ref<Application>>
```

The current instance of the `Application` class: the application
registered with the service locator (see
`bind_current`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L280)

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

### bind_current

```rust
fn bind_current(application: Ref<Application>)
```

Registers `application` with the current service locator as the
application returned by `current`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L286)

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

### data_templates

```rust
fn data_templates(self: &Self) -> DataTemplates
```

The application's global data templates.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L291)

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

### is_data_templates_initialized

```rust
fn is_data_templates_initialized(self: &Self) -> bool
```

Whether the data templates collection has been created.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L296)

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

### input_manager

```rust
fn input_manager(self: &Self) -> Option<Rc<InputManager>>
```

The application's input manager, once the services have been
registered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L302)

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

### resources

```rust
fn resources(self: &Self) -> Ref<ResourceDictionary>
```

The application's global resource dictionary.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L307)

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

### set_resources

```rust
fn set_resources(self: &Self, value: Ref<ResourceDictionary>)
```

Sets the application's global resource dictionary.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L312)

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

### styles

```rust
fn styles(self: &Self) -> Ref<Styles>
```

The application's global styles.

Global styles apply to all windows in the application.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L319)

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

### is_styles_initialized

```rust
fn is_styles_initialized(self: &Self) -> bool
```

Whether the styles collection has been created.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L324)

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

### has_resources

```rust
fn has_resources(self: &Self) -> bool
```

Whether the application or its styles have resources.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L329)

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

### styling_parent

```rust
fn styling_parent(self: &Self) -> Option<StyleHostRef>
```

The styling parent of the application, which is `None`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L334)

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

### application_lifetime

```rust
fn application_lifetime(self: &Self) -> Option<Rc<dyn IApplicationLifetime>>
```

The application lifetime; use it for things like setting the main
window or view and exiting the application from code.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L340)

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

### set_application_lifetime

```rust
fn set_application_lifetime(self: &Self, value: Option<Rc<dyn IApplicationLifetime>>)
```

Sets the application lifetime.
## Panics
Panics when the application has already been initialized.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L348)

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

### platform_settings

```rust
fn platform_settings(self: &Self) -> Option<Rc<dyn IPlatformSettings>>
```

The contract for accessing global platform-specific settings.

It can be `None` only if the application wasn't initialized yet. The
platform settings of a top-level are an equivalent which should
always be preferred over the global one, as specific top-levels
might have different settings set up.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L362)

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

### resources_changed

```rust
fn resources_changed(self: &Self, handler: impl Fn(&ResourcesChangedEventArgs) -> () + 'static) -> Subscription
```

Raised when the resources of the application change. Dropping the returned guard removes the
handler; `Subscription::detach` keeps it for the life of the application.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L368)

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

### actual_theme_variant_changed

```rust
fn actual_theme_variant_changed(self: &Self, handler: impl Fn() -> () + 'static) -> Subscription
```

Raised when the actual theme variant of the application has changed. Dropping the returned
guard removes the handler; `Subscription::detach` keeps it for the life of the
application.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L376)

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

### try_get_resource

```rust
fn try_get_resource(self: &Self, key: &ResourceKey, theme: Option<&ThemeVariant>) -> Option<ResourceValue>
```

Tries to find a resource within the application: in its resource
dictionary, then in its styles.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L383)

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

### name

```rust
fn name(self: &Self) -> Option<String>
```

The application name to be used for various platform-specific
purposes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L389)

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

### set_name

```rust
fn set_name(self: &Self, value: Option<String>)
```

Sets the application name.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L394)

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

### try_get_feature

```rust
fn try_get_feature(self: &Self, feature_type: TypeId) -> Option<Rc<dyn Any>>
```

Queries for an optional feature.

`feature_type` is the `TypeId` of the feature's trait object type;
the returned value holds the `Rc<dyn ..>` handle of the feature.
Features currently supported:

- `dyn IPlatformSettings`
- `dyn IActivatableLifetime`

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L406)

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

### try_get

```rust
fn try_get<T: ?Sized + 'static>(self: &Self) -> Option<Rc<T>>
```

Queries for an optional feature registered as `Rc<T>`; see
`try_get_feature`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L412)

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

### initialize_theme_variant

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

Establishes the actual theme variant of the application and keeps
it up to date with the color values of the platform settings.

The subscription lasts as long as the platform settings do; it does
not keep the application alive.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L421)

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

### as_global_styles

```rust
fn as_global_styles(self: &Self) -> Rc<dyn IGlobalStyles>
```

The application as the host of the global styles.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L440)

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

### as_style_host

```rust
fn as_style_host(self: &Self) -> Rc<dyn IStyleHost>
```

The application as a style host.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L445)

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

### as_resource_host

```rust
fn as_resource_host(self: &Self) -> Rc<dyn IResourceHost>
```

The application as a resource host.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L450)

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

### as_theme_variant_host

```rust
fn as_theme_variant_host(self: &Self) -> Rc<dyn IThemeVariantHost>
```

The application as a theme variant host.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L455)

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

### as_global_data_templates

```rust
fn as_global_data_templates(self: &Self) -> Rc<dyn IGlobalDataTemplates>
```

The application as the host of the global data templates.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L460)

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

### as_optional_feature_provider

```rust
fn as_optional_feature_provider(self: &Self) -> Rc<dyn IOptionalFeatureProvider>
```

The application as a provider of optional features.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L465)

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

### as_theme_variant_root

```rust
fn as_theme_variant_root(self: &Self) -> Rc<dyn IThemeVariantRoot>
```

The application as a theme variant root.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L470)

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

### as_data_context_provider

```rust
fn as_data_context_provider(self: &Self) -> Rc<dyn ferroui_base::IDataContextProvider>
```

The application as an element with a data context that can be used
for binding.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/application.rs#L476)

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

### run

```rust
fn run(self: &Self, closable: &dyn ICloseable)
```

On desktop-style platforms runs the application's main loop until
`closable` is closed.

Consider using a classic desktop lifetime instead. Without run loops
this returns right after subscribing to the closed event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/desktop_application_extensions.rs#L24)

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

### run_window

```rust
fn run_window(self: &Self, main_window: impl Into<Nullable<Window>>)
```

On desktop-style platforms runs the application's main loop until
the main window is closed. The window is shown if it is not visible.

Consider using a classic desktop lifetime instead. Without run loops
this returns right after showing the window, which stays alive until
it is closed.
## Panics
Panics when `main_window` is null.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/desktop_application_extensions.rs#L41)

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

### run_with_token

```rust
fn run_with_token(self: &Self, token: &CancellationToken)
```

On desktop-style platforms runs the application's main loop with a
custom cancellation token, without setting a lifetime: the loop runs
until `token` is canceled.

Without run loops this does nothing and returns.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/desktop_application_extensions.rs#L59)

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

### run_with_main_window

```rust
fn run_with_main_window<TWindow: ObjectType + Upcast<Window>>(self: &Self, new_window: impl FnOnce() -> Ref<TWindow>)
```

Creates a window with `new_window`, shows it and runs the
application's main loop until it is closed; see
`run_window`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/desktop_application_extensions.rs#L69)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ApplicationImplExt`](/docs/0.5.0/api/ferroui-controls/trait-applicationimplext/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<Application>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`NewApplication`](/docs/0.5.0/api/ferroui-controls/trait-newapplication/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`ApplicationImpl`](/docs/0.5.0/api/ferroui-controls/trait-applicationimpl/)

## Availability

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