Skip to content

TypeMapGet::get_all and TypeMapSet::get_all_mut #2

@kitlith

Description

@kitlith
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestideaPossible direction under condsideration

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions