# EditorRegistry

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/struct-editorregistry/

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

```rust
struct EditorRegistry
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L83)

## Members

- [`built_in`](#function-built_in)
- [`register`](#function-register)
- [`editor`](#function-editor)
- [`validate`](#function-validate)

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

### built_in

```rust
fn built_in() -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L92)

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

### register

```rust
fn register(self: &mut Self, editor: Box<dyn ValueEditor>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L97)

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

### editor

```rust
fn editor(self: &Self, property: &PropertyDescriptor) -> Option<&dyn ValueEditor>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L100)

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

### validate

```rust
fn validate(self: &Self, property: &PropertyDescriptor, value: &str) -> Result<()>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L106)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `Default`

## Availability

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