wip: return () from render method

This commit is contained in:
🪞👃🪞 2024-09-15 16:54:18 +03:00
parent 5d00e9f284
commit e3fa292a3c
3 changed files with 167 additions and 140 deletions

View file

@ -310,7 +310,7 @@ impl<E: Engine> Widget for JackDevice<E> {
fn layout (&self, to: E::Size) -> Perhaps<E::Size> {
self.state.read().unwrap().layout(to)
}
fn render (&self, to: &mut E::Output) -> Perhaps<E::Area> {
fn render (&self, to: &mut E::Output) -> Usually<()> {
self.state.read().unwrap().render(to)
}
}