native-dialog 0.2.2

A library to display dialogs. Supports GNU/Linux, macOS and Windows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub struct OpenSingleFile<'a> {
    pub dir: Option<&'a str>,
    pub filter: Option<&'a [&'a str]>,
}

pub struct OpenMultipleFile<'a> {
    pub dir: Option<&'a str>,
    pub filter: Option<&'a [&'a str]>,
}

pub struct SaveFile<'a> {
    pub dir: Option<&'a str>,
    pub name: &'a str,
}