pub struct NoFilePicker;Expand description
A picker that chooses nothing, for where there is no system to ask (tests, headless use).
Trait Implementations§
Source§impl Clone for NoFilePicker
impl Clone for NoFilePicker
Source§fn clone(&self) -> NoFilePicker
fn clone(&self) -> NoFilePicker
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 moreimpl Copy for NoFilePicker
Source§impl Debug for NoFilePicker
impl Debug for NoFilePicker
Source§impl Default for NoFilePicker
impl Default for NoFilePicker
Source§fn default() -> NoFilePicker
fn default() -> NoFilePicker
Returns the “default value” for a type. Read more
Source§impl FilePickerProvider for NoFilePicker
impl FilePickerProvider for NoFilePicker
Source§fn pick(&self, _request: &FileRequest, done: Box<dyn FnOnce(Vec<PickedFile>)>)
fn pick(&self, _request: &FileRequest, done: Box<dyn FnOnce(Vec<PickedFile>)>)
Shows the system’s chooser, and calls
done with what was chosen, now or later
on the UI thread. Canceling gives an empty list.Auto Trait Implementations§
impl Freeze for NoFilePicker
impl RefUnwindSafe for NoFilePicker
impl Send for NoFilePicker
impl Sync for NoFilePicker
impl Unpin for NoFilePicker
impl UnsafeUnpin for NoFilePicker
impl UnwindSafe for NoFilePicker
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