`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`