1 2 3 4 5 6 7 8 9
use super::SimpleCounter; #[servify::export] impl SimpleCounter { fn increment_and_get_ex(&mut self) -> u32 { self.counter += 1; self.counter } }