Trait maplibre::tcs::system::System

source ·
pub trait System: 'static {
    // Required methods
    fn name(&self) -> Cow<'static, str>;
    fn run(&mut self, context: &mut MapContext);
}
Expand description

An system that can be added to a Schedule

Required Methods§

source

fn name(&self) -> Cow<'static, str>

Returns the system’s name.

source

fn run(&mut self, context: &mut MapContext)

Implementors§

source§

impl System for GraphRunnerSystem

source§

impl System for ResourceSystem

source§

impl<E: Environment, T: RasterTransferables> System for maplibre::raster::populate_world_system::PopulateWorldSystem<E, T>

source§

impl<E: Environment, T: RasterTransferables> System for maplibre::raster::request_system::RequestSystem<E, T>

source§

impl<E: Environment, T: VectorTransferables> System for maplibre::vector::populate_world_system::PopulateWorldSystem<E, T>

source§

impl<E: Environment, T: VectorTransferables> System for maplibre::vector::request_system::RequestSystem<E, T>

source§

impl<F> System for FunctionSystem<F>
where F: FnMut(&mut MapContext) + 'static,