Implement delay for pop widget 🎉
This commit is contained in:
parent
42f6018487
commit
ffc412d6b7
3 changed files with 50 additions and 39 deletions
|
|
@ -144,9 +144,9 @@ impl<F, A, B, O> Function<A, B, O> for F
|
|||
where
|
||||
F: Fn(A, B) -> O,
|
||||
Self: Sized,
|
||||
A: Copy,
|
||||
A: Clone,
|
||||
{
|
||||
fn with(self, prefix: A) -> impl Fn(B) -> O {
|
||||
move |result| self(prefix, result)
|
||||
move |result| self(prefix.clone(), result)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue