Struct amethyst_ui::UiBundle [−][src]
pub struct UiBundle<A, B> { /* fields omitted */ }
UI bundle
Will register all necessary components and systems needed for UI, along with any resources. The generic types A and B represent the A and B generic parameter of the InputHandler<A,B>.
Will fail with error 'No resource with the given id' if the InputBundle is not added.
Methods
impl<A, B> UiBundle<A, B>
[src]
impl<A, B> UiBundle<A, B>
Trait Implementations
impl<'a, 'b, A, B> SystemBundle<'a, 'b> for UiBundle<A, B> where
A: Send + Sync + Eq + Hash + Clone + 'static,
B: Send + Sync + Eq + Hash + Clone + 'static,
[src]
impl<'a, 'b, A, B> SystemBundle<'a, 'b> for UiBundle<A, B> where
A: Send + Sync + Eq + Hash + Clone + 'static,
B: Send + Sync + Eq + Hash + Clone + 'static,
fn build(self, builder: &mut DispatcherBuilder<'a, 'b>) -> Result<()>
[src]
fn build(self, builder: &mut DispatcherBuilder<'a, 'b>) -> Result<()>
Build and add ECS resources, register components, add systems etc to the Application.