# register_types

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

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

```rust
fn register_types()
```

Registers the namespaces and the types of this crate (and of the crates
it is built on) with the tables of known types
(`TypeInfo::find`, `MarkupType::find`) and its assembly. Cheap and
idempotent; nothing is initialised until a type is used or looked into.

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

## Availability

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