Crate egui_demo_lib
source ·Expand description
Demo-code for showing how egui is used.
This library can be used to test 3rd party egui integrations (see for instance https://github.com/not-fl3/egui-miniquad/blob/master/examples/demo.rs).
The demo is also used in benchmarks and tests.
Feature flags
-
serde— Allow serialization usingserde. -
syntax_highlighting— Enable better syntax highlighting usingsyntect.
Optional dependencies
document-features— Enable this when generating docs.
Modules
- Experimental markup language
Macros
- Create a
Hyperlinkto this egui source code file on github. - Create a
Hyperlinkto this egui source code file and line on github.
Structs
- A test for sanity-checking and diagnosing egui rendering backends.
- A menu bar in which you can select different demo windows to show.
Constants
Functions
- Detect narrow screens. This is used to show a simpler UI on mobile devices, especially for the web demo at https://egui.rs.