archetype_ecs 1.2.0

Archetype ECS - High-performance Entity Component System with parallel execution
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::app::App;

/// Plugin trait for modular application architecture
pub trait Plugin {
    /// Get the name of this plugin (for logging and debugging)
    fn plugin_name(&self) -> &'static str;
    
    /// Build the plugin into the app
    fn build(&self, app: &mut App);
}