Menu

Enum

FileDialogKind

kurogane::FileDialogKindSource
#[non_exhaustive] pub enum FileDialogKind { Open, OpenMultiple, OpenFolder, Save, }

What kind of file chooser a page opens (FileDialogRequest::kind).

Variants

#Open

One existing file.

#OpenMultiple

One or more existing files (<input type=file multiple>).

#OpenFolder

A folder (<input type=file webkitdirectory>, showDirectoryPicker).

#Save

A file to save to, which may not exist yet (showSaveFilePicker).

Trait implementations