ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A))
crates
egui
This crate contains example code for egui.
The demo library is a separate crate for three reasons: