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