gdext.builtin.Dict
See theDict companion object
final class Dict[K, V] extends AutoCloseable
A typed view over Godot's Dictionary — Dict[K, V]. Keys and values marshal through the ToVariant/FromVariant seam, so any builtin- or (where a given exists) object-convertible K/V works.
The backing 8-byte Dictionary handle is heap-owned so a Dict can live in a class field (an exported property) for the object's lifetime. As with the rest of the binding, freeing is explicit / process-lifetime (Phase 4 lifetimes).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
Members list
In this article