pub fn run<A: ApplicationHandler<()>>(
window: &mut A,
) -> Result<(), EventLoopError>
Expand description
Shorthand to run a struct that implements winit’s ApplicationHandler
pub fn run<A: ApplicationHandler<()>>(
window: &mut A,
) -> Result<(), EventLoopError>
Shorthand to run a struct that implements winit’s ApplicationHandler