pub struct SaveOptions {
pub types: Vec<FileType>,
pub initial_folder: Option<PathBuf>,
pub suggested_name: Option<String>,
pub confirm_label: Option<String>,
}Expand description
How to ask where to save a file.
Fields§
§types: Vec<FileType>§initial_folder: Option<PathBuf>§suggested_name: Option<String>The file name the dialog suggests.
confirm_label: Option<String>Trait Implementations§
Source§impl Clone for SaveOptions
impl Clone for SaveOptions
Source§impl Debug for SaveOptions
impl Debug for SaveOptions
Source§impl Default for SaveOptions
impl Default for SaveOptions
impl Eq for SaveOptions
Source§impl PartialEq for SaveOptions
impl PartialEq for SaveOptions
impl StructuralPartialEq for SaveOptions
Auto Trait Implementations§
impl Freeze for SaveOptions
impl RefUnwindSafe for SaveOptions
impl Send for SaveOptions
impl Sync for SaveOptions
impl Unpin for SaveOptions
impl UnsafeUnpin for SaveOptions
impl UnwindSafe for SaveOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.