# PropertyDefinition

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/motion/struct-propertydefinition/

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

```rust
struct PropertyDefinition
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L62)

## Members

- [`name`](#struct_field-name)
- [`value_type`](#struct_field-value_type)
- [`value_type_name`](#struct_field-value_type_name)
- [`has_motion`](#struct_field-has_motion)
- [`get_value`](#function-get_value)
- [`set_value`](#function-set_value)
- [`get_motion`](#function-get_motion)

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

### name

```rust
name: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L63)

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

### value_type

```rust
value_type: std::any::TypeId
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L64)

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

### value_type_name

```rust
value_type_name: &'static str
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L65)

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

### has_motion

```rust
has_motion: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L66)

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

### get_value

```rust
fn get_value(self: &Self, target: &mut Animatable, now_ms: f64) -> Result<PropertyValue, PropertyError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L69)

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

### set_value

```rust
fn set_value(self: &Self, target: &mut Animatable, value: PropertyValue, now_ms: f64) -> Result<(), PropertyError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L77)

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

### get_motion

```rust
fn get_motion(self: &Self, target: &Animatable) -> Result<Option<MotionInfo>, PropertyError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/motion/animatable.rs#L86)

## 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`
- [`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`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Display`

## Availability

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