Now with increment and decrement
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user