# register_types

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/function-register_types/

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

```rust
fn register_types()
```

Registers the types of this crate for markup: XAML then names
`ComponentHost` as `using:FerroUI.View` (or
`clr-namespace:FerroUI.View;assembly=FerroUI.View`). Cheap and
idempotent.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/register_types.rs#L28)

## Availability

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