pub trait System {
fn update(&mut self, world: &mut World, resources: &mut Resources);
fn initialize(&mut self, _world: &mut World, _resources: &mut Resources) { ... }
fn finalize(&mut self, _world: &mut World, _resources: &mut Resources) { ... }
fn init_boars(
&self,
_world: &mut World,
_resources: &mut Resources,
_boars: &[Entity]
) { ... }
}
sourceimpl<T> System for swifco_rs::systems::reporters::grid::Callback<T> where
T: Element + ToPyObject,
sourceimpl<T> System for swifco_rs::systems::reporters::time_series::Callback<T> where
T: ToPyObject,