# ByReferenceMotionProperty

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

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

```rust
struct ByReferenceMotionProperty<T: Clone>
```



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

## Members

- [`new`](#function-new)
- [`set_movement`](#function-set_movement)
- [`get_movement`](#function-get_movement)
- [`is_completed`](#function-is_completed)
- [`set_animation`](#function-set_animation)

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

### new

```rust
fn new(value: T) -> Self
```



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

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

### set_movement

```rust
fn set_movement(self: &mut Self, value: T, now_ms: f64)
```



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

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

### get_movement

```rust
fn get_movement(self: &mut Self, now_ms: f64) -> T
```



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

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

### is_completed

```rust
fn is_completed(self: &Self) -> bool
```



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

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

### set_animation

```rust
fn set_animation(self: &mut Self, animation: Option<Animation>)
```



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

## 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/).
