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

TypeMapGet::get_all and TypeMapSet::get_all_mut #2

Open
kitlith opened this issue Feb 6, 2021 · 0 comments
Open

TypeMapGet::get_all and TypeMapSet::get_all_mut #2

kitlith opened this issue Feb 6, 2021 · 0 comments
Labels
enhancement New feature or request idea Possible direction under condsideration

Comments

@kitlith
Copy link
Owner

kitlith commented Feb 6, 2021

fn get_all<T: 'static>(&self) -> impl Iterator<Item = &T>;
fn get_all_mut<T: 'static>(&mut self) -> impl Iterator<Item = &mut T>;

in case you ever want to possibly get multiple items of the same type out.

@kitlith kitlith added enhancement New feature or request idea Possible direction under condsideration labels Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idea Possible direction under condsideration
Projects
None yet
Development

No branches or pull requests

1 participant