# DefaultConverterRegistration

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/bindings/struct-defaultconverterregistration/

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

```rust
struct DefaultConverterRegistration
```

Registers the built-in converters in a [`ConverterService`](/docs/0.5.0/api/ferroui-reactiveui/binding/bindings/struct-converterservice/) (`DefaultConverterRegistration`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/bindings/converters/default_converter_registration.rs#L8)

## Members

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

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

### register_defaults

```rust
fn register_defaults(service: &ConverterService)
```

Registers the built-in typed converters in the typed registry of `service`
(`RegisterDefaults`): the identity converter of strings, the equality converter, and the
converters between strings and the booleans, identifiers, numbers and time spans, in both
directions, and between each number type and its `Option`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/bindings/converters/default_converter_registration.rs#L18)

## 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/).
