![]() This enables functions that return `impl Widget`, so that you can create a widget by just returning a lambda from a function. For instance: `ui.add(toggle(bool))` (instead of `toggle(ui, bool)`) |
||
---|---|---|
.. | ||
benches | ||
src | ||
Cargo.toml | ||
README.md |
egui demo library
this crate contains example code for egui.
it is in a separate crate for two reasons:
- to ensure it only uses the public
egui
api. - to remove the amount of code in
egui
proper.