Skip to main content

Module property

Module property 

Expand description

Registration support for property types.

Modules§

export_info_functions
Functions used to translate user-provided arguments into export hints.

Structs§

Enumerator
A single enumerator entry: display name and ordinal value. Used in GodotShape::Enum.
PhantomVar
A zero-sized type for creating a property without a backing field, accessible only through custom getter/setter functions.

Enums§

ClassHeritage
Which tree in the Godot hierarchy a class belongs to; determines how it appears in property hints.
GodotElementShape
Same as GodotShape, but for element types nested in typed arrays/dictionaries.
GodotShape
The “shape” of a Godot type: whether it’s a builtin, a class, an enum/bitfield, etc.

Traits§

BuiltinExport
Marker trait to identify GodotTypes that can be directly used with an #[export].
Export
Trait implemented for types that can be used as #[export] fields.
SimpleVar
Simplified way to implement the Var trait, for godot-convertible types.
Var
Trait for types used in #[var] fields.