5 releases
Uses old Rust 2015
0.1.1 | Feb 2, 2019 |
---|---|
0.1.0 | Jan 30, 2018 |
0.0.3 | Mar 13, 2017 |
0.0.2 | Feb 1, 2017 |
0.0.1 | Feb 1, 2017 |
#6 in #boxing
12,002 downloads per month
Used in 56 crates
(4 directly)
17KB
355 lines
This library provide a safe way to box FnOnce types. It doesn't use any unstable features and is therefore fully compatible with rust stable.
This library is provided because Box<FnOnce()>
doesn't work yet, and
Box<FnBox()>
will never be available in rust stable.
The documentation for master
is located at https://stbuehler.github.io/rustdocs/boxfnonce/boxfnonce/; released versions are documented at https://docs.rs/boxfnonce.
lib.rs
:
See BoxFnOnce
and SendBoxFnOnce
.