API referencestd/collections

std/collections/shared_hash_map

Public declarations, types, methods, and source contracts for std/collections/shared_hash_map.

On this page

Library guide · API index and notation

This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.

import "std/collections/shared_hash_map"

Names used in signatures

Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.

Alias Package Source file
hash_map std/collections/hash_map shared_hash_map.dodo
shared_arena alloc/shared_arena shared_hash_map.dodo

new

Function · Source

Safe adapter for the checked single-threaded shared arena capability.

pub fn new<K, V, H>(allocator: shared_arena.Handle, policy: H) -> hash_map.Map<K, V, H, shared_arena.Handle> from(allocator, policy)

Search every guide, reference page, and API declaration.