pub enum RunStop {
WindowClosed,
Exit,
TimedOut,
}Expand description
Why a bounded UI run stopped.
Returned by Ui::run_bounded and Ui::run_bounded_with, the
autoclose-aware runners a capture or smoke harness uses to let an app end
its own run instead of being killed by the script.
Variants§
WindowClosed
The runner saw UiEvent::WindowClosed.
Exit
The handler answered LoopFlow::Exit.
TimedOut
The autoclose budget elapsed first; the window is still open.
Trait Implementations§
impl Copy for RunStop
impl Eq for RunStop
impl StructuralPartialEq for RunStop
Auto Trait Implementations§
impl Forget for RunStop
impl Freeze for RunStop
impl Move for RunStop
impl RefUnwindSafe for RunStop
impl Send for RunStop
impl Sync for RunStop
impl Unpin for RunStop
impl UnsafeUnpin for RunStop
impl UnwindSafe for RunStop
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