The Rust Programming Language Forum
Can I call a Box<FnOnce()>?
xnor
June 1, 2020, 4:44pm
4
5 years later, the trait FnBox isn't in the stdlib (unstable or not).
How do we do this these days?
show post in topic
Related topics
Topic
Replies
Views
Activity
Move a boxed function inside a closure
help
10
2569
January 12, 2023
Cannot invoke derefenced boxed FnOnce, dyn FnOnce()
help
4
569
December 14, 2021
Impl FnOnce for own Box implementation
2
427
March 23, 2021
Differences between calling closures from Box<FnOnce()> and Box<Fn()>
help
4
3391
January 12, 2023
Help needed regarding the lifetime of Box<dyn FnOnce(...)>
help
8
137
December 29, 2024