Function servoshell::desktop::events_loop::with_current_event_loop

source ยท
pub fn with_current_event_loop<F, R>(f: F) -> Option<R>
where F: FnOnce(&ActiveEventLoop) -> R,