Struct wrappinghashset::WrappingHashSet
source · pub struct WrappingHashSet<T>{ /* private fields */ }
Expand description
A hash set that remembers the last key it returned with its iterator it will wrap around and only return all of the keys once per iterator
Important: Prior to version 0.5 all iterators shared the count, so if you only partilaly read one iterator, it would affect the next one. As of 0.5 and forward, the position is remembered, but the count is forgotten. This may break your app if you are depending on the old behavior.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for WrappingHashSet<T>where
T: PartialEq,
impl<T> RefUnwindSafe for WrappingHashSet<T>where
T: PartialEq + RefUnwindSafe,
impl<T> Send for WrappingHashSet<T>
impl<T> Sync for WrappingHashSet<T>
impl<T> Unpin for WrappingHashSet<T>
impl<T> UnwindSafe for WrappingHashSet<T>where
T: PartialEq + UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more