cushy 0.4.0

A wgpu-powered graphical user interface (GUI) library with a reactive data model
Documentation
1
2
3
4
5
6
7
8
# Switcher

The [`Switcher`][Switcher] widget allows switching between different widgets at
runtime. It can be used with a read-only `WidgetInstance` dynamic or a
convenience function that allows switching based on a mapping function that
produces the new widget to display.

[Switcher]: <{{ docs }}/widgets/struct.Switcher.html>