#[repr(C)]pub struct KuiFileDialog {
pub mode: u32,
pub multiple: u32,
pub title: KuiStr,
pub filters: *const KuiFileFilter,
pub filter_count: usize,
pub directory: KuiStr,
pub file_name: KuiStr,
}Expand description
The dialog kui_request_files asks for. Zeroed, it is an Open
dialog for one file of any type.
Fields§
§mode: u32KUI_FILE_DIALOG_*.
multiple: u32Nonzero: more than one file or folder may be picked.
title: KuiStrEmpty for the platform’s own.
filters: *const KuiFileFilter§filter_count: usize§directory: KuiStrThe folder it opens in; empty for the platform’s choice.
file_name: KuiStrA save dialog’s suggested name; empty for none.
Trait Implementations§
Source§impl Clone for KuiFileDialog
impl Clone for KuiFileDialog
impl Copy for KuiFileDialog
Auto Trait Implementations§
impl !Send for KuiFileDialog
impl !Sync for KuiFileDialog
impl Freeze for KuiFileDialog
impl RefUnwindSafe for KuiFileDialog
impl Unpin for KuiFileDialog
impl UnsafeUnpin for KuiFileDialog
impl UnwindSafe for KuiFileDialog
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.