Introduce Layer trait

This commit is contained in:
Héctor Ramón Jiménez 2020-04-16 13:22:00 +02:00
parent c901f40fd6
commit f064f0482b
12 changed files with 252 additions and 54 deletions

View file

@ -176,7 +176,10 @@ where
) {
}
fn overlay(&mut self) -> Option<Box<dyn Overlay<Message, Renderer> + 'a>> {
fn overlay(
&mut self,
_layout: Layout<'_>,
) -> Option<Overlay<'a, Message, Renderer>> {
None
}
}