Expand description
The library contains an implementation of a container type AnyBox
which works similar to C++’s (std::any)
Structs§
- AnyBox
- A container for any instance works similar to C++’s
std::any
and is made to replaceArc<dyn Any>
. The key difference fromArc<dyn Any>
is that small instances (up to 8 bytes) are stored in theAnyBox
instance - NoSend
- Marker for NoSend AnyBox
- TypeId
- A
TypeId
represents a globally unique identifier for a type.