1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/// Declarative interface from WASM plugin to Host.
///
/// A WASM plugin's `plugin_build()` returns a list of `Contribution`s
/// describing what the plugin wants to add to the Bevy App. The Host
/// applies these contributions after collecting them from all plugins.
///
/// The plugin never receives `&mut App` directly.
/// Describes a system to be added to a Bevy schedule.
///
/// The actual system function lives in the WASM plugin and is called
/// through the host bridge at runtime.
/// Describes a resource to be registered in the Bevy World.