Function run

Source
pub fn run<A: ApplicationHandler<()>>(
    window: &mut A,
) -> Result<(), EventLoopError>
Expand description

Shorthand to run a struct that implements winit’s ApplicationHandler