Skip to main content

Module property

Module property 

Source
Expand description

Register Rust fields as Godot properties.

Modules§

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

Structs§

PhantomVar
A zero-sized type for creating a property without a backing field, accessible only through custom getter/setter functions.

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.

Derive Macros§

Export
Derive macro for Export on enums.
Var
Derive macro for Var on enums.