# FilePickerHandler

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-diagnostics/diagnostics/screenshots/struct-filepickerhandler/

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

```rust
struct FilePickerHandler
```

Show a FileSavePicker to select where save screenshot

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/screenshots/file_picker_handler.rs#L15)

## Members

- [`new`](#function-new)
- [`with_title`](#function-with_title)

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

### new

```rust
fn new() -> Self
```

Instance FilePickerHandler

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/screenshots/file_picker_handler.rs#L34)

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

### with_title

```rust
fn with_title(title: Option<String>, screenshot_root: Option<String>) -> Self
```

Instance FilePickerHandler with specificated parameter

`title` is the title of the save file picker; `screenshot_root` the folder it starts in.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/screenshots/file_picker_handler.rs#L41)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`IScreenshotHandler`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/trait-iscreenshothandler/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- `PartialEq`
- `Default`
- [`BaseRenderToStreamHandler`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/screenshots/trait-baserendertostreamhandler/)

## Availability

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