Function flashmap::with_capacity
source · [−]pub fn with_capacity<K, V>(
capacity: usize
) -> (WriteHandle<K, V>, ReadHandle<K, V>) where
K: TrustedHashEq,
Expand description
Creates a new map with the specified initial capacity and a
RandomState
hasher.
If you wish to specify additional parameters, see Builder
.