pub struct BudgetedHashSet<T> { /* private fields */ }Expand description
A linear-probing set with reserved bucket layouts, including hashes, occupancy and alignment. Element-owned allocations remain the caller’s responsibility. Growth retains both bucket buffers until every entry has moved; it never rehashes user values while publishing the replacement.
Implementations§
Source§impl<T> BudgetedHashSet<T>
impl<T> BudgetedHashSet<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BudgetedHashSet<T>
impl<T> RefUnwindSafe for BudgetedHashSet<T>
impl<T> Send for BudgetedHashSet<T>
impl<T> Sync for BudgetedHashSet<T>
impl<T> Unpin for BudgetedHashSet<T>
impl<T> UnsafeUnpin for BudgetedHashSet<T>
impl<T> UnwindSafe for BudgetedHashSet<T>
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