[−][src]Module coffee::load::loading_screen
Build consistent loading screens that run tasks.
Any Task
allows querying its total amount of work without running it. A
loading screen uses this feature to keep track of the overall progress
consistently.
If you want to implement your own loading screen, check out the
LoadingScreen
trait.
If you want a simple placeholder, you can try out the built-in
ProgressBar
loading screen.
Structs
ProgressBar | A simple loading screen showing a progress bar and the current stage. |
Traits
LoadingScreen | A loading screen keeps track of the progress of a task and provides feedback to the user. |