#[repr(i32)]pub enum NativeFileChooserType {
BrowseFile = 0,
BrowseDir = 1,
BrowseMultiFile = 2,
BrowseMultiDir = 3,
BrowseSaveFile = 4,
BrowseSaveDir = 5,
}
Expand description
Defines the type of dialog, which can be changed dynamically using the set_type()
method
Variants§
BrowseFile = 0
Browse file
BrowseDir = 1
Browse dir
BrowseMultiFile = 2
Browse multiple files
BrowseMultiDir = 3
Browse multiple dirs
BrowseSaveFile = 4
Browse save file
BrowseSaveDir = 5
Browse save directory
Trait Implementations§
Source§impl Clone for NativeFileChooserType
impl Clone for NativeFileChooserType
Source§fn clone(&self) -> NativeFileChooserType
fn clone(&self) -> NativeFileChooserType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NativeFileChooserType
impl Debug for NativeFileChooserType
Source§impl PartialEq for NativeFileChooserType
impl PartialEq for NativeFileChooserType
Source§impl WidgetType for NativeFileChooserType
impl WidgetType for NativeFileChooserType
impl Copy for NativeFileChooserType
impl Eq for NativeFileChooserType
impl StructuralPartialEq for NativeFileChooserType
Auto Trait Implementations§
impl Freeze for NativeFileChooserType
impl RefUnwindSafe for NativeFileChooserType
impl Send for NativeFileChooserType
impl Sync for NativeFileChooserType
impl Unpin for NativeFileChooserType
impl UnwindSafe for NativeFileChooserType
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