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, }