Enum fltk::dialog::FileDialogType
source · #[repr(i32)]pub enum FileDialogType {
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 FileDialogType
impl Clone for FileDialogType
source§fn clone(&self) -> FileDialogType
fn clone(&self) -> FileDialogType
Returns a copy 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 FileDialogType
impl Debug for FileDialogType
source§impl PartialEq for FileDialogType
impl PartialEq for FileDialogType
source§fn eq(&self, other: &FileDialogType) -> bool
fn eq(&self, other: &FileDialogType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl WidgetType for FileDialogType
impl WidgetType for FileDialogType
impl Copy for FileDialogType
impl Eq for FileDialogType
impl StructuralPartialEq for FileDialogType
Auto Trait Implementations§
impl Freeze for FileDialogType
impl RefUnwindSafe for FileDialogType
impl Send for FileDialogType
impl Sync for FileDialogType
impl Unpin for FileDialogType
impl UnwindSafe for FileDialogType
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