Skip to content

Feature Request: IndexSet entry APIs #388

Description

@zao111222333

I wonder whether IndexSet::entry is in the roadmap, if yes, I can try to submit PR.
Like the one in hashbrown::HashSet, for IndexSet it will be

impl<T, S> IndexSet<T, S>
where
    T: Hash + Eq,
    S: BuildHasher,
{
    pub fn entry(&mut self, value: T) -> Entry<'_, T, S> { ... }
}
pub enum Entry<'a,T,S> { ... }

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-stdChanges waiting for stabilization in the standard library, so we can match the API.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions