Struct nekolib::ds::CuckooHashSet
source · pub struct CuckooHashSet<K>(/* private fields */);
Expand description
CuckooHashMap<K, ()>
の wrapper。
Implementations§
Trait Implementations§
source§impl<K: Clone> Clone for CuckooHashSet<K>
impl<K: Clone> Clone for CuckooHashSet<K>
source§fn clone(&self) -> CuckooHashSet<K>
fn clone(&self) -> CuckooHashSet<K>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<K: Debug> Debug for CuckooHashSet<K>
impl<K: Debug> Debug for CuckooHashSet<K>
source§impl<K: Eq + Hash> Extend<K> for CuckooHashSet<K>
impl<K: Eq + Hash> Extend<K> for CuckooHashSet<K>
source§fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = K>,
fn extend<I>(&mut self, iter: I)where I: IntoIterator<Item = K>,
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<K: Eq + Hash> FromIterator<K> for CuckooHashSet<K>
impl<K: Eq + Hash> FromIterator<K> for CuckooHashSet<K>
source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = K>,
fn from_iter<I>(iter: I) -> Selfwhere I: IntoIterator<Item = K>,
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl<K> RefUnwindSafe for CuckooHashSet<K>where K: RefUnwindSafe,
impl<K> Send for CuckooHashSet<K>where K: Send,
impl<K> Sync for CuckooHashSet<K>where K: Sync,
impl<K> Unpin for CuckooHashSet<K>where K: Unpin,
impl<K> UnwindSafe for CuckooHashSet<K>where K: 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