pub trait Bundle {
// Provided methods
fn register(&mut self, _builder: &mut Builder) { ... }
fn populate(&mut self, _world: &mut World) { ... }
}
Expand description
A bundle encapsulates the systems and resources for a specific feature. This can be used by library crates to expose their features as a single API.