Now with increment and decrement

This commit is contained in:
Greg Hellings
2025-02-25 15:36:58 -06:00
parent 0c7843b386
commit 93b2cb6447
5 changed files with 31 additions and 5 deletions
+8
View File
@@ -10,10 +10,18 @@ impl Module {
Self { module: module }
}
pub fn decrement(&mut self) {
self.module.pin_mut().decrement();
}
pub fn get_name(&self) -> String {
self.module.get_name()
}
pub fn increment(&mut self) {
self.module.pin_mut().increment();
}
pub fn render_text(&mut self) -> String {
self.module.pin_mut().render_text()
}