Trait bevy_app::prelude::Plugin[][src]

pub trait Plugin: Any + Send + Sync {
    fn build(&self, app: &mut AppBuilder);

    fn name(&self) -> &str { ... }
}

A collection of Bevy App logic and configuration

Plugins use AppBuilder to configure an App. When an App registers a plugin, the plugin’s Plugin::build function is run.

Required methods

fn build(&self, app: &mut AppBuilder)[src]

Loading content...

Provided methods

fn name(&self) -> &str[src]

Loading content...

Implementors

Loading content...