ExportType

gdext.internal.register.ExportType
See theExportType companion trait
object ExportType

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ExportType.type

Members list

Value members

Concrete methods

def apply[A](using e: ExportType[A]): ExportType[A]
def fromSeam[A](vt: GDExtensionVariantType)(using tv: ToVariant[A], fv: FromVariant[A]): ExportType[A]

Build an ExportType from the existing Variant typeclasses (value types).

Build an ExportType from the existing Variant typeclasses (value types).

Attributes

Givens

Givens

given arrExport[A](using ea: ExportType[A], ta: ToVariant[Arr[A]], fa: FromVariant[Arr[A]]): ExportType[Arr[A]]
given bareRef[A](using r: RefLeaf[A]): ExportType[A]

Bare X (no wrapper) is treated as Required: stored, may be null at runtime.

Bare X (no wrapper) is treated as Required: stored, may be null at runtime.

Attributes

given dictExport[K, V](using ek: ExportType[K], ev: ExportType[V], tdict: ToVariant[Dict[K, V]], fdict: FromVariant[Dict[K, V]]): ExportType[Dict[K, V]]
given optRef[A](using r: RefLeaf[A]): ExportType[Option[A]]
given reqRef[A](using r: RefLeaf[A]): ExportType[Required[A]]