#[repr(C)]pub struct DialogsFileBrowserOptions {
pub extension: *const c_char,
pub base_path: *const c_char,
pub skip_assets: bool,
pub hide_dot_files: bool,
pub icon: *const Icon,
pub hide_ext: bool,
pub item_loader_callback: FileBrowserLoadItemCallback,
pub item_loader_context: *mut c_void,
}
Expand description
File browser dialog extra options. This can be default-initialized using {dialog_file_browser_set_basic_options}.
§Arguments
extension
- file extension to be offered for selectionbase_path
- root folder path for navigation with back keyskip_assets
- true - do not show assets foldershide_dot_files
- true - hide dot filesicon
- file icon pointer, NULL for default iconhide_ext
- true - hide extensions for filesitem_loader_callback
- callback function for providing custom icon & entry namehide_ext
- callback context
Fields§
§extension: *const c_char
§base_path: *const c_char
§skip_assets: bool
§hide_dot_files: bool
§icon: *const Icon
§hide_ext: bool
§item_loader_callback: FileBrowserLoadItemCallback
§item_loader_context: *mut c_void
Trait Implementations§
Source§impl Clone for DialogsFileBrowserOptions
impl Clone for DialogsFileBrowserOptions
Source§fn clone(&self) -> DialogsFileBrowserOptions
fn clone(&self) -> DialogsFileBrowserOptions
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 DialogsFileBrowserOptions
impl Debug for DialogsFileBrowserOptions
impl Copy for DialogsFileBrowserOptions
Auto Trait Implementations§
impl Freeze for DialogsFileBrowserOptions
impl RefUnwindSafe for DialogsFileBrowserOptions
impl !Send for DialogsFileBrowserOptions
impl !Sync for DialogsFileBrowserOptions
impl Unpin for DialogsFileBrowserOptions
impl UnwindSafe for DialogsFileBrowserOptions
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