1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{Model, Plugin};
use crate::tests::test::{TestModel};
pub mod test;
pub struct TestPlugin {}
impl Plugin for TestPlugin {
fn model(&mut self, name: &str) -> Box<dyn Model> {
match name {
_ => Box::new(TestModel {})
}
}
}