Type Definition anymap2::AnyMap [−][src]
type AnyMap = Map<dyn Any>;
The most common type of Map
: just using Any
.
Why is this a separate type alias rather than a default value for Map<A>
?
Map::new()
doesn’t seem to be happy to infer that it should go with the
default value. It’s a bit sad, really. Ah well, I guess this approach will
do.