pub struct Builder<S = RandomState> { /* private fields */ }
Implementations
sourceimpl Builder<RandomState>
impl Builder<RandomState>
sourceimpl<S> Builder<S>
impl<S> Builder<S>
pub fn with_capacity(self, capacity: usize) -> Self
pub fn with_hasher<H>(self, hasher: H) -> Builder<H> where
H: Clone + BuildHasher,
pub fn with_hasher_fn<H>(self, make: fn() -> H) -> Builder<H> where
H: BuildHasher,
pub fn build<K, V>(self) -> (WriteHandle<K, V, S>, ReadHandle<K, V, S>) where
K: Eq + Hash,
S: BuildHasher,
Trait Implementations
impl<S: Copy> Copy for Builder<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for Builder<S> where
S: RefUnwindSafe,
impl<S> Send for Builder<S> where
S: Send,
impl<S> Sync for Builder<S> where
S: Sync,
impl<S> Unpin for Builder<S> where
S: Unpin,
impl<S> UnwindSafe for Builder<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more