Struct collected::UniqueHashSet [−][src]
pub struct UniqueHashSet<A>(_);
Expand description
A collection that takes unique values into a set.
It maintains a HashSet internally. When it is
built from iterator or extended, it expects unique input values.
Otherwise, it empties out the internal and ignore future values.
Implementations
Trait Implementations
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Creates a value from an iterator. Read more
Auto Trait Implementations
impl<A> RefUnwindSafe for UniqueHashSet<A> where
A: RefUnwindSafe, impl<A> Send for UniqueHashSet<A> where
A: Send, impl<A> Sync for UniqueHashSet<A> where
A: Sync, impl<A> Unpin for UniqueHashSet<A> where
A: Unpin, impl<A> UnwindSafe for UniqueHashSet<A> where
A: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more