-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
How to actually use this #29
Comments
I’ve thought about making it compatible with custom |
It would very much help given I only want to allow types implementing Component into the map. That said, if it's outside of the scope of this crate, I am fine with implementing it myself, of course. |
@Binero I know this was ages ago, but do you have an implementation you could share? I have the same sort of need. |
I had assumed this was possible and was planning clap around it. My plan for clap was to have multiple anymap's and wanted them to be typed so people can only use types designed for each one. See clap-rs/clap#3476 for more details on my thoughts for clap. I believe I'll also need |
I want to crate a
Map<Component>
, but whatever I do, Rust always sayserror[E0277]: the trait bound `Component + 'static: anymap::any::UncheckedAnyExt` is not satisfied
.I have tried so much now:
I am lost on what to do...
The text was updated successfully, but these errors were encountered: