Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider including TypeMap and AnyMap #4

Closed
tbu- opened this issue Nov 25, 2014 · 2 comments
Closed

Consider including TypeMap and AnyMap #4

tbu- opened this issue Nov 25, 2014 · 2 comments

Comments

@tbu-
Copy link
Contributor

tbu- commented Nov 25, 2014

As the title says. One is from @reem and the other one from @chris-morgan IIRC.

@Gankra
Copy link
Owner

Gankra commented Nov 25, 2014

Sounds cool, but I'm not super familiar with the structures. I'd like to hear @reem and @chris-morgan's thoughts on the matter.

@reem
Copy link
Collaborator

reem commented Nov 26, 2014

They're basically just wrappers around HashMap<TypeId, Box<Any>> that allows storing and retrieving many different types of values.

You could re-export them here, but they are pretty different in scope and design than the rest of the collections in std.

@Gankra Gankra closed this as completed Mar 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants