# PreviewStageMatrixEditor

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer/struct-previewstagematrixeditor/

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

```rust
struct PreviewStageMatrixEditor
```

Empty check-box groups retain the original stage's values. Applying requests a
complete matrix only after the host verifies the source and board still match.

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

## Members

- [`new`](#function-new)
- [`control`](#function-control)
- [`on_apply`](#function-on_apply)
- [`on_close`](#function-on_close)
- [`retire`](#function-retire)
- [`show_error`](#function-show_error)
- [`draft`](#function-draft)
- [`apply`](#function-apply)
- [`cancel`](#function-cancel)

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

### new

```rust
fn new(base: PreviewStageConfiguration, document: Document, available: usize) -> Rc<Self>
```



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

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

### control

```rust
fn control(self: &Self) -> Ref<Control>
```



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

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

### on_apply

```rust
fn on_apply(self: &Self, apply: impl Fn(PreviewStageMatrix) -> Result<(), String> + 'static)
```



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

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

### on_close

```rust
fn on_close(self: &Self, close: impl Fn() -> () + 'static)
```



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

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

### retire

```rust
fn retire(self: &Self)
```



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

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

### show_error

```rust
fn show_error(self: &Self, error: &str)
```



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

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

### draft

```rust
fn draft(self: &Self) -> PreviewStageMatrix
```



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

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

### apply

```rust
fn apply(self: &Self) -> Result<(), String>
```



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

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

### cancel

```rust
fn cancel(self: &Self)
```



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Same`

## Availability

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