# PropertyEditorContext

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

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

```rust
struct PropertyEditorContext
```



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

## Members

- [`property`](#struct_field-property)
- [`targets`](#struct_field-targets)
- [`value`](#struct_field-value)
- [`mixed`](#struct_field-mixed)
- [`runtime_type`](#struct_field-runtime_type)
- [`apply`](#struct_field-apply)

<a id="struct_field-property"></a>

### property

```rust
property: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/editors.rs#L42)

<a id="struct_field-targets"></a>

### targets

```rust
targets: Vec<ferroui_designer_core::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/editors.rs#L43)

<a id="struct_field-value"></a>

### value

```rust
value: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/editors.rs#L44)

<a id="struct_field-mixed"></a>

### mixed

```rust
mixed: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/editors.rs#L45)

<a id="struct_field-runtime_type"></a>

### runtime_type

```rust
runtime_type: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/editors.rs#L46)

<a id="struct_field-apply"></a>

### apply

```rust
apply: std::rc::Rc<dyn Fn(Option<String>) -> ()>
```

`None` removes the authored value; expressions are preserved as source strings.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/editors.rs#L48)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Same`
- `Clone`

## Availability

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