pub fn with_bucket_count(bucket_count: usize) -> Self {
        if bucket_count == 0usize {
            panic!()
        }

        Self::with_hasher_and_bucket_count(RandomState::new(), bucket_count)
    }
/// Creates an empty `Map` with a given bucket count.
///
/// The map will have `bucket_count` buckets allocated.
///
/// # Panics
///
/// This function will panic if `bucket_count` is 0.
///
/// # Examples
///
/// ```rust
/// use palladiumdb::Map;
/// let map: Map<&str, i32> = Map::with_bucket_count(32);
/// ```
Creates an empty `Map` with a given bucket count.
The map will have `bucket_count` buckets allocated.
Creates an empty ` Map ` with a given bucket count . The map will have ` bucket_count ` buckets allocated .
pub fn with_bucket_count(bucket_count: usize) -> Self {
        if bucket_count == 0usize {
            panic!()
        }
        Self::with_hasher_and_bucket_count(RandomState::new(), bucket_count)
    }
pub fn with_bucket_count ( bucket_count : usize ) -> Self { if bucket_count == 0usize { panic ! ( ) } Self :: with_hasher_and_bucket_count ( RandomState :: new ( ) , bucket_count ) }
Creates an empty `Map` with a given bucket count.
Creates an empty ` Map ` with a given bucket count .
bucket_count
usize
bucket_count
usize
panics
This function will panic if `bucket_count` is 0.
This function will panic if ` bucket_count ` is 0 .
examples
```rust
use palladiumdb::Map;
let map: Map<&str, i32> = Map::with_bucket_count(32);
```
` ` ` rust use palladiumdb :: Map ; let map : Map<&str i32 > = Map :: with_bucket_count ( 32 ) ; ` ` `