HashSetLike

Trait HashSetLike 

Source
pub trait HashSetLike<E>
where E: Eq + Hash,
{ // Required method fn insert(&mut self, e: E) -> Option<E>; }
Expand description

Trait HashSetLike adopter for HashSet-like containers.

Required Methods§

Source

fn insert(&mut self, e: E) -> Option<E>

Inserts a key-value pair into the map.

Implementors§

Source§

impl<E> HashSetLike<E> for HashSet<E>
where E: Eq + Hash,