# BindingConverters

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

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

```rust
struct BindingConverters
```

The converter service that the bindings use (`BindingConverters`). The builders of ReactiveUI
and ReactiveUI.Binding set it once they registered their converters.

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

## Members

- [`current`](#function-current)
- [`set_service`](#function-set_service)

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

### current

```rust
fn current() -> Rc<ConverterService>
```

The current service (`Current`): until one is set, an empty service created on the first
read.

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

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

### set_service

```rust
fn set_service(service: Rc<ConverterService>)
```

Makes `service` the current one (`SetService`).

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

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