# LayoutEditPreview

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

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

```rust
struct LayoutEditPreview
```

Immutable, validated authoring result paired with the geometry presented to the user.
A rejected result still contains an explicit target and explanation for red feedback.
The edit list is private: commit applies the exact accepted preview after checking its
source, selection, permissions and provider identity again.

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

## Members

- [`helpers`](#struct_field-helpers)
- [`is_accepted`](#function-is_accepted)
- [`rejection`](#function-rejection)
- [`target`](#function-target)
- [`description`](#function-description)
- [`is_current`](#function-is_current)

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

### helpers

```rust
helpers: LayoutHelperSnapshot
```



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

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

### is_accepted

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



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

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

### rejection

```rust
fn rejection(self: &Self) -> Option<&str>
```



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

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

### target

```rust
fn target(self: &Self) -> NodeId
```



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

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

### description

```rust
fn description(self: &Self) -> &str
```



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

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

### is_current

```rust
fn is_current(self: &Self, session: &DesignerSession) -> bool
```



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

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