Split Menu::new into multiple builder methods
This commit is contained in:
parent
7a105ade27
commit
1c12bad866
3 changed files with 114 additions and 54 deletions
|
|
@ -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,
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue