pub fn run<RenderFn>(render_fn: RenderFn) -> Result<(), EventLoopError>
Expand description
Runs a callback as a single window. Continues to run until false is returned.
§Errors
Returns an EventLoopError
upon the loop exiting due to an error. See
EventLoop::run
for more
information.