pub enum DialogMockResponse {
OpenFile(Option<PathBuf>),
OpenFiles(Vec<PathBuf>),
SaveFile(Option<PathBuf>),
PickFolder(Option<PathBuf>),
MessageBox(MessageBoxResult),
}Expand description
Mock response for automated test suites.
Variants§
OpenFile(Option<PathBuf>)
OpenFiles(Vec<PathBuf>)
SaveFile(Option<PathBuf>)
PickFolder(Option<PathBuf>)
MessageBox(MessageBoxResult)
Trait Implementations§
Source§impl Clone for DialogMockResponse
impl Clone for DialogMockResponse
Source§fn clone(&self) -> DialogMockResponse
fn clone(&self) -> DialogMockResponse
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 moreAuto Trait Implementations§
impl Forget for DialogMockResponse
impl Freeze for DialogMockResponse
impl Move for DialogMockResponse
impl RefUnwindSafe for DialogMockResponse
impl Send for DialogMockResponse
impl Sync for DialogMockResponse
impl Unpin for DialogMockResponse
impl UnsafeUnpin for DialogMockResponse
impl UnwindSafe for DialogMockResponse
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