Crate any_box

Crate any_box 

Source
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 replace Arc<dyn Any>. The key difference from Arc<dyn Any> is that small instances (up to 8 bytes) are stored in the AnyBox instance
NoSend
Marker for NoSend AnyBox
TypeId
A TypeId represents a globally unique identifier for a type.