pub struct FileOpenRequest { /* private fields */ }Implementations§
Source§impl FileOpenRequest
impl FileOpenRequest
pub fn accept(self, value: impl Into<String>) -> Self
pub fn multiple(self, flag: bool) -> Self
pub fn pick( self, on_complete: impl Fn(FileOpenEventArgs) + 'static, ) -> FileRequestGuard
pub fn pick_with_error( self, on_complete: impl Fn(FileOpenEventArgs) + 'static, on_error: Option<impl Fn(FileErrorEventArgs) + 'static>, ) -> FileRequestGuard
Trait Implementations§
Source§impl Clone for FileOpenRequest
impl Clone for FileOpenRequest
Source§fn clone(&self) -> FileOpenRequest
fn clone(&self) -> FileOpenRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileOpenRequest
impl Debug for FileOpenRequest
Source§impl Default for FileOpenRequest
impl Default for FileOpenRequest
Source§fn default() -> FileOpenRequest
fn default() -> FileOpenRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileOpenRequest
impl RefUnwindSafe for FileOpenRequest
impl Send for FileOpenRequest
impl Sync for FileOpenRequest
impl Unpin for FileOpenRequest
impl UnsafeUnpin for FileOpenRequest
impl UnwindSafe for FileOpenRequest
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