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_ordered_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 |
|---|---|---|
ordered_map |
std/collections/ordered_map |
shared_ordered_map.dodo |
shared_arena |
alloc/shared_arena |
shared_ordered_map.dodo |
new
Function · Source
Safe adapter for the checked single-threaded shared arena capability.
pub fn new<K, V, C>(allocator: shared_arena.Handle, policy: C) -> ordered_map.Map<K, V, C, shared_arena.Handle> from(allocator, policy)