# FerroAppBuilderExtensions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui-controls/trait-ferroappbuilderextensions/

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

```rust
trait FerroAppBuilderExtensions
```

`with_ferro` on an application builder that is a builder of ReactiveUI.Binding
(`WithFerro` on `IAppBuilder`, which casts the builder).

Deviation (DEVIATIONS.md, ReactiveUI controls): Rust cannot cast a trait object to another
trait; the builder is found by its address among the builders of the thread
(`ReactiveUIBindingBuilder::find`) and returned as its `Rc`.

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

## Members

- [`with_ferro`](#function-with_ferro)

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

### with_ferro

```rust
fn with_ferro(self: &Self) -> Rc<ReactiveUIBindingBuilder>
```

Registers the `FerroBindingModule` with the builder of ReactiveUI.Binding behind the
application builder (`WithFerro`); returns that builder.
## Panics
Panics when the application builder is not a builder of ReactiveUI.Binding.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI.Controls/ferro_binding_builder_extensions.rs#L48)

## Trait implementations

- [`FerroAppBuilderExtensions`](/docs/0.5.0/api/ferroui-reactiveui-controls/trait-ferroappbuilderextensions/)

## Availability

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