# PropertyValueEdit

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer/enum-propertyvalueedit/

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

```rust
enum PropertyValueEdit
```



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

## Members

- [`Literal`](#variant-literal)
- [`Expression`](#variant-expression)
- [`Object`](#variant-object)
- [`Resource`](#variant-resource)
- [`ExtractResource`](#variant-extractresource)
- [`Reset`](#variant-reset)

<a id="variant-literal"></a>

### Literal

```rust
Literal(String)
```



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

<a id="variant-expression"></a>

### Expression

```rust
Expression(String)
```



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

<a id="variant-object"></a>

### Object

```rust
Object(String)
```



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

<a id="variant-resource"></a>

### Resource

```rust
Resource { node: ferroui_designer_core::NodeId, dynamic: bool }
```



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

<a id="variant-extractresource"></a>

### ExtractResource

```rust
ExtractResource { owner: ferroui_designer_core::NodeId, key: String }
```

Extract the current authored value into the chosen owner scope and replace it
with a resource reference. Hosts expose this only for an eligible single target.

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

<a id="variant-reset"></a>

### Reset

```rust
Reset
```



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Same`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`

## Availability

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