1 unstable release
0.0.1 | Mar 7, 2022 |
---|
#36 in #stored
16KB
300 lines
AnyBox
works similar to C++'s (std::any
):
- small types (up to a pointer size) are stored without heap allocation.
- larger types are stored with a
Box
lib.rs
:
The library contains an implementation of a container type AnyBox
which works similar to C++'s (std::any)