Dictionary

gdext.builtin.Dictionary$package.Dictionary
object Dictionary

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Dictionary.type

Members list

Value members

Concrete methods

Construct an empty Dictionary into caller storage.

Construct an empty Dictionary into caller storage.

Attributes

Wrap an existing Dictionary handle pointer (no copy).

Wrap an existing Dictionary handle pointer (no copy).

Attributes

inline def scope[R](body: Dictionary => R): R

Extensions

Extensions

extension (d: Dictionary)
def destroy(): Unit
def get[K, V](key: K)(using tk: ToVariant[K], fv: FromVariant[V]): V

Read the value at key as a Scala value.

Read the value at key as a Scala value.

Attributes

def put[K, V](key: K, value: V)(using tk: ToVariant[K], tv: ToVariant[V]): Unit

Set key -> value (both marshalled through the Variant seam).

Set key -> value (both marshalled through the Variant seam).

Attributes

def size: Int