# RxAppBuilder

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/builder/struct-rxappbuilder/

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

```rust
struct RxAppBuilder
```

The start of the configuration of ReactiveUI (`RxAppBuilder`): the builder over the current
locator, and the check that an application was built.

Deviation (DEVIATIONS.md, ReactiveUI): the state of the initialization is per thread, as the
locator of Splat is (`docs/porting/reactive.md`, section 5.1).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/builder/rx_app_builder.rs#L25)

## Members

- [`create_reactive_ui_builder`](#function-create_reactive_ui_builder)
- [`ensure_initialized`](#function-ensure_initialized)

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

### create_reactive_ui_builder

```rust
fn create_reactive_ui_builder() -> ReactiveUIBuilder
```

A builder over the current resolver of Splat's `AppLocator` (`CreateReactiveUIBuilder()`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/builder/rx_app_builder.rs#L29)

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

### ensure_initialized

```rust
fn ensure_initialized()
```

Checks that ReactiveUI was initialized by building an application (`EnsureInitialized`), the
replacement of upstream's former `RxApp.EnsureInitialized()`.
## Panics
When no application was built (`InvalidOperationException`), with the message that shows
how to build one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/builder/rx_app_builder.rs#L39)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`

## Availability

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