# PreviewPrototypeManifest

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

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

```rust
struct PreviewPrototypeManifest
```

Portable graph descriptors. Every stage reference is an index into the owning
preview-stage manifest, never a runtime ID or a source node's transient identity.

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

## Members

- [`flows`](#struct_field-flows)
- [`links`](#struct_field-links)
- [`is_empty`](#function-is_empty)
- [`has_overlay_actions`](#function-has_overlay_actions)
- [`from_prototype`](#function-from_prototype)
- [`validate`](#function-validate)
- [`restore`](#function-restore)

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

### flows

```rust
flows: Vec<PreviewPrototypeFlowManifest>
```



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

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

### links

```rust
links: Vec<PreviewPrototypeLinkManifest>
```



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

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

### is_empty

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



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

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

### has_overlay_actions

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



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

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

### from_prototype

```rust
fn from_prototype(graph: &PreviewPrototype, stages: &[PreviewStageId]) -> Result<Self, String>
```



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

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

### validate

```rust
fn validate(self: &Self, stage_count: usize) -> Result<(), String>
```

Validation uses only positional placeholders and never constructs previews.

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

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

### restore

```rust
fn restore(self: &Self, stages: &[PreviewStageId]) -> Result<PreviewPrototype, String>
```



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

## 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/)
- `DeserializeOwned`
- `ErasedDestructor`
- `IntoEither`
- `Same`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- `Clone`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Serialize`
- `Deserialize<'de>`

## Availability

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