pub struct HashSetMapBuilder<T> {
pub hash_register: HashSetMap<T>,
pub hasher: Option<Arc<dyn Hasher>>,
}
Fields§
§hash_register: HashSetMap<T>
§hasher: Option<Arc<dyn Hasher>>
Implementations§
Source§impl<'a, T> HashSetMapBuilder<T>
impl<'a, T> HashSetMapBuilder<T>
pub fn insert( self, hasher: &'a mut dyn Hasher, input: T, ) -> (u64, Option<Arc<T>>, Self)
pub fn new() -> Self
pub fn new_with_capacity(capacity: usize) -> Self
pub fn new_with_hasher(hasher: Arc<dyn Hasher>) -> Self
pub fn new_with_capacity_and_hasher( capacity: usize, hasher: Arc<dyn Hasher>, ) -> Self
pub fn build(self) -> HashMap<Arc<u64>, Arc<T>>
pub fn with_hasher(self, hasher: Arc<dyn Hasher>) -> Self
pub fn hasher(&mut self, hasher: Arc<dyn Hasher>) -> &mut Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for HashSetMapBuilder<T>
impl<T> !RefUnwindSafe for HashSetMapBuilder<T>
impl<T> !Send for HashSetMapBuilder<T>
impl<T> !Sync for HashSetMapBuilder<T>
impl<T> Unpin for HashSetMapBuilder<T>
impl<T> !UnwindSafe for HashSetMapBuilder<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