# register_types

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

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

```rust
fn register_types()
```

Registers the namespaces and the table of types of this crate (and of the crates it is built
on). Cheap and idempotent. The table is trimmed as that of every crate of the framework
(`TypeInfo::register_table`): a class is known once it is used, and by name where the tables
of types are kept.

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

## Availability

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