1 2 3 4 5 6
#[derive(Debug)] pub struct BasicState { pub counter: i32, } pub type BasicPlugin = cr::Plugin<BasicState>;