Split Menu::new into multiple builder methods

This commit is contained in:
Héctor Ramón Jiménez 2020-07-08 06:55:22 +02:00
parent 7a105ade27
commit 1c12bad866
3 changed files with 114 additions and 54 deletions

View file

@ -32,7 +32,7 @@ where
pub fn map<B>(self, f: Rc<dyn Fn(Message) -> B>) -> Overlay<'a, B, Renderer>
where
Message: 'static,
Message: 'a,
Renderer: 'a,
B: 'static,
{