# PreviewStageImage

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

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

```rust
struct PreviewStageImage
```

A captured PNG and the dimensions of the exact native frame that produced it.
The image is owned bytes, so a save picker may await without retaining controls.

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

## Members

- [`png`](#struct_field-png)
- [`logical_width`](#struct_field-logical_width)
- [`logical_height`](#struct_field-logical_height)
- [`pixel_width`](#struct_field-pixel_width)
- [`pixel_height`](#struct_field-pixel_height)
- [`scale`](#struct_field-scale)

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

### png

```rust
png: Vec<u8>
```



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

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

### logical_width

```rust
logical_width: f64
```



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

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

### logical_height

```rust
logical_height: f64
```



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

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

### pixel_width

```rust
pixel_width: u32
```



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

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

### pixel_height

```rust
pixel_height: u32
```



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

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

### scale

```rust
scale: f64
```



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

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

## Availability

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