limnus_scheduler/lib.rs
1/*
2 * Copyright (c) Peter Bjorklund. All rights reserved. https://github.com/swamp/limnus
3 * Licensed under the MIT License. See LICENSE in the project root for license information.
4 */
5
6use limnus_stage::Stages;
7use limnus_system_state::State;
8use std::fmt::Debug;
9
10pub trait Scheduler: Debug + 'static {
11 fn schedule(&self, stages: &Stages, state: &mut State);
12}