Module builtin

Source
Expand description

Built-in types like Vector2, GString and Variant.

Please read the book chapter about builtin types.

§API design

API design behind the builtin types (and some wider parts of the library) is elaborated in the extended documentation page.

Modules§

iter
Iterator types for arrays and dictionaries.
math
Math-related functions and traits like ApproxEq.
strings
Specialized types related to Godot’s various string implementations.

Macros§

array
Constructs [Array] literals, similar to Rust’s standard vec! macro.
dict
Constructs [Dictionary] literals, close to Godot’s own syntax.
real
A macro to coerce float-literals into the [real] type.
reals
Array of [real]s.
varray
Constructs [VariantArray] literals, similar to Rust’s standard vec! macro.

Structs§

VariantOperator
Godot enum name: Variant.Operator.
VariantType
Godot enum name: Variant.Type.

Enums§

Corner
This enum is exhaustive; you should not expect future Godot versions to add new enumerators.
EulerOrder
This enum is exhaustive; you should not expect future Godot versions to add new enumerators.
Side
This enum is exhaustive; you should not expect future Godot versions to add new enumerators.