pub unsafe fn with_hasher<S2>(self, hash_builder: S2) -> Options<M, S2>
    where
        S2: BuildHasher + Clone,
    {
        Options {
            meta: self.meta,
            hasher: hash_builder,
            capacity: self.capacity,
        }
    }
/// Set the hasher used for the map.
///
/// # Safety
///
/// This method is safe to call as long as the given hasher is deterministic. That is, it must
/// yield the same hash if given the same sequence of inputs.
Set the hasher used for the map.
Set the hasher used for the map .
pub unsafe fn with_hasher<S2>(self, hash_builder: S2) -> Options<M, S2>
    where
        S2: BuildHasher + Clone,
    {
        Options {
            meta: self.meta,
            hasher: hash_builder,
            capacity: self.capacity,
        }
    }
pub unsafe fn with_hasher < S2 > ( self , hash_builder : S2 ) -> Options < M , S2 > where S2 : BuildHasher + Clone , { Options { meta : self . meta , hasher : hash_builder , capacity : self . capacity , } }
Set the hasher used for the map.
Set the hasher used for the map .
self
hash_builder
S2
self
hash_builder
S2
safety
This method is safe to call as long as the given hasher is deterministic. That is, it must
yield the same hash if given the same sequence of inputs.
This method is safe to call as long as the given hasher is deterministic . That is it must yield the same hash if given the same sequence of inputs .