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
Auto 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