Crate conrod_example_shared
source · [−]Expand description
This crate is used for sharing a few items between the conrod examples.
The module contains:
pub struct DemoApp
as a demonstration of some state we want to change.pub fn gui
as a demonstration of all widgets, some of which mutate ourDemoApp
.pub struct Ids
- a set of allwidget::Id
s used in thegui
fn.
By sharing these items between these examples, we can test and ensure that the different events and drawing backends behave in the same manner.