# DrawnPropertySetter

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/visual_states/struct-drawnpropertysetter/

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

```rust
struct DrawnPropertySetter
```

A named value assignment applied through an animatable's type-checked registry.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/visual_states/drawn_property_setter.rs#L5)

## Members

- [`property_name`](#struct_field-property_name)
- [`value`](#struct_field-value)
- [`new`](#function-new)
- [`erased`](#function-erased)
- [`text`](#function-text)

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

### property_name

```rust
property_name: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/visual_states/drawn_property_setter.rs#L6)

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

### value

```rust
value: crate::motion::PropertyValue
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/visual_states/drawn_property_setter.rs#L7)

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

### new

```rust
fn new<T: 'static>(property_name: impl Into<String>, value: T) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/visual_states/drawn_property_setter.rs#L11)

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

### erased

```rust
fn erased(property_name: impl Into<String>, value: PropertyValue) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/visual_states/drawn_property_setter.rs#L17)

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

### text

```rust
fn text(property_name: impl Into<String>, value: impl Into<String>) -> Self
```

Stores owned text, including text to be parsed by a numeric property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/visual_states/drawn_property_setter.rs#L24)

## 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`
- `Clone`
- `Debug`

## Availability

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