pub trait RuntimeLoop {
    // Required methods
    fn waker(&self) -> Arc<dyn RuntimeWaker, Global>;
    fn run<T>(&self, on_step: impl FnMut() -> ControlFlow<T, ()>) -> T;
}

Required Methods§

source

fn waker(&self) -> Arc<dyn RuntimeWaker, Global>

source

fn run<T>(&self, on_step: impl FnMut() -> ControlFlow<T, ()>) -> T

Implementors§