# MaterialMotionRole

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-themes-material/motion/enum-materialmotionrole/

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

```rust
enum MaterialMotionRole
```

A semantic motion role. Spatial and effects roles must not be interchanged.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L71)

## Members

- [`FastSpatial`](#variant-fastspatial)
- [`DefaultSpatial`](#variant-defaultspatial)
- [`SlowSpatial`](#variant-slowspatial)
- [`FastEffects`](#variant-fasteffects)
- [`DefaultEffects`](#variant-defaulteffects)
- [`SlowEffects`](#variant-sloweffects)
- [`ALL`](#assoc_const-all)
- [`resource_name`](#function-resource_name)

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

### FastSpatial

```rust
FastSpatial
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L72)

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

### DefaultSpatial

```rust
DefaultSpatial
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L73)

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

### SlowSpatial

```rust
SlowSpatial
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L74)

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

### FastEffects

```rust
FastEffects
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L75)

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

### DefaultEffects

```rust
DefaultEffects
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L76)

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

### SlowEffects

```rust
SlowEffects
```



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

<a id="assoc_const-all"></a>

### ALL

```rust
const ALL: [Self; 6]
```

All the semantic roles, in their resource-installation order.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L82)

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

### resource_name

```rust
const fn resource_name(self: Self) -> &'static str
```

The role's suffix in `MaterialMotion{Role}Duration` and `MaterialMotion{Role}Easing`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/motion.rs#L92)

## 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`
- `Equivalent<K>`
- `CastableFrom<ST, Uninit, Uninit>`
- `CastableFrom<ST, Initialized, Initialized>`
- `Read<Exclusive, BecauseExclusive>`
- `Clone`
- `Copy`
- `Debug`
- `Eq`
- `StructuralPartialEq`
- `PartialEq`

## Availability

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