# ConverterType

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

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

```rust
struct ConverterType
```

A type as the converters name it (upstream's `Type`): its `TypeId`, which is the key the
registries look converters up by, and its name, for messages.

Two values are equal when they name the same type; the name takes no part in the comparison.

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

## Members

- [`of`](#function-of)
- [`id`](#function-id)
- [`name`](#function-name)
- [`is_type_of`](#function-is_type_of)

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

### of

```rust
fn of<T: ?Sized + 'static>() -> Self
```

The type `T` (`typeof(T)`). `ConverterType::of::<dyn Any>()` is upstream's `typeof(object)`.

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

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

### id

```rust
fn id(self: &Self) -> TypeId
```

The identifier of the type.

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

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

### name

```rust
fn name(self: &Self) -> &'static str
```

The name of the type, for messages (`Type.Name`).

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

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

### is_type_of

```rust
fn is_type_of(self: &Self, value: &dyn Any) -> bool
```

Whether `value` is a value of this type: its run-time type is this one (`value.GetType() ==
type`).

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ToString`
- `Clone`
- `Copy`
- `PartialEq`
- `Eq`
- `PartialEq<TypeId>`
- `Hash`
- `Debug`
- `Display`

## Availability

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