pub struct MainLoopEvents {
pub destroy: Option<Box<dyn FnMut() + Send>>,
}Expand description
Main loop events
Fields§
§destroy: Option<Box<dyn FnMut() + Send>>The main loop was destroyed.
Auto Trait Implementations§
impl !RefUnwindSafe for MainLoopEvents
impl !Sync for MainLoopEvents
impl !UnwindSafe for MainLoopEvents
impl Freeze for MainLoopEvents
impl Send for MainLoopEvents
impl Unpin for MainLoopEvents
impl UnsafeUnpin for MainLoopEvents
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