1
2
3
4
5
6
7
pub trait Painter {
  fn paint(&self);
}

pub trait Updater {
  fn update(&mut self);
}