Import std.collections.pool
Handle
struct
Public Struct Handle<T> Implements Hashable
Where a value is in its Pool, which only the Pool makes. Two are equal when they're the same value's, so a Handle can be a Map's key or a Set's value.
Examples
Local pool = Pool<String>()
Local a = pool.Add("a")
Local names = {a: "first"}
Expect(names.Contains(a) && pool.Get(a) == "a")std/collections/pool.fb, line 20
-
Its slot in the Pool.
Report an issue with this page or with FutureBlitz on GitHub.