pub struct HashSetMapBuilder<T> { /* private fields */ }
Implementations§
Source§impl<'a, T> HashSetMapBuilder<T>
impl<'a, T> HashSetMapBuilder<T>
pub fn insert(&mut self, hasher: &'a mut dyn Hasher, input: T) -> Option<Rc<T>>
pub fn new() -> Self
pub fn new_with_capacity(capacity: usize) -> Self
pub fn new_with_hasher(hasher: Rc<dyn Hasher>) -> Self
pub fn new_with_capacity_and_hasher( capacity: usize, hasher: Rc<dyn Hasher>, ) -> Self
pub fn build(self) -> HashMap<Rc<u64>, Rc<T>>
pub fn with_hasher(self, hasher: Rc<dyn Hasher>) -> Self
pub fn hasher(&mut self, hasher: Rc<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