# PreviewStageAction

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

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

```rust
enum PreviewStageAction
```

Commands retain the card's accepted epoch. Hosts reject callbacks from a replaced
graph or dismissed menu rather than applying them to a different preview scenario.

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

## Members

- [`Add`](#variant-add)
- [`Compare`](#variant-compare)
- [`CompareMatrix`](#variant-comparematrix)
- [`Prototype`](#variant-prototype)
- [`RefreshAll`](#variant-refreshall)
- [`Save`](#variant-save)
- [`Load`](#variant-load)
- [`Back`](#variant-back)
- [`Edit`](#variant-edit)
- [`Duplicate`](#variant-duplicate)
- [`Remove`](#variant-remove)
- [`Move`](#variant-move)
- [`Pin`](#variant-pin)
- [`Mode`](#variant-mode)
- [`Pause`](#variant-pause)
- [`Refresh`](#variant-refresh)
- [`Focus`](#variant-focus)
- [`Select`](#variant-select)
- [`Resize`](#variant-resize)
- [`Export`](#variant-export)
- [`AddInteraction`](#variant-addinteraction)

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

### Add

```rust
Add
```



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

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

### Compare

```rust
Compare(PreviewStageComparison)
```



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

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

### CompareMatrix

```rust
CompareMatrix
```



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

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

### Prototype

```rust
Prototype
```



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

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

### RefreshAll

```rust
RefreshAll
```



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

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

### Save

```rust
Save
```



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

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

### Load

```rust
Load
```



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

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

### Back

```rust
Back
```



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

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

### Edit

```rust
Edit { stage: crate::PreviewStageId, epoch: u64 }
```



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

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

### Duplicate

```rust
Duplicate { stage: crate::PreviewStageId, epoch: u64 }
```



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

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

### Remove

```rust
Remove { stage: crate::PreviewStageId, epoch: u64 }
```



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

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

### Move

```rust
Move { stage: crate::PreviewStageId, epoch: u64, offset: i32 }
```



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

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

### Pin

```rust
Pin { stage: crate::PreviewStageId, epoch: u64, pinned: bool }
```



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

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

### Mode

```rust
Mode { stage: crate::PreviewStageId, epoch: u64, mode: crate::PreviewStageMode }
```



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

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

### Pause

```rust
Pause { stage: crate::PreviewStageId, epoch: u64, paused: bool }
```



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

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

### Refresh

```rust
Refresh { stage: crate::PreviewStageId, epoch: u64 }
```



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

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

### Focus

```rust
Focus { stage: crate::PreviewStageId, epoch: u64 }
```



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

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

### Select

```rust
Select { stage: crate::PreviewStageId, epoch: u64, position: ferroui_base::Point }
```



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

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

### Resize

```rust
Resize { stage: crate::PreviewStageId, epoch: u64, width: f64, height: f64 }
```



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

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

### Export

```rust
Export { stage: crate::PreviewStageId, epoch: u64 }
```



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

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

### AddInteraction

```rust
AddInteraction { stage: crate::PreviewStageId, epoch: u64 }
```



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

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

## Availability

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