Module anymap2::any

source ·
Expand description

The different types of Any for use in a map.

This is based on std::any, but goes a little further, with CloneAny being a cloneable Any. CloneAnySend, CloneAnySync, and CloneAnySendSync further retrict what can be placed in the map with the Send and Sync bounds.

Traits§