Expand description

Derive macros and macro attributes.

Attribute Macros

Collects method signatures of all functions in a NativeClass that have the #[method] attribute and registers them with Godot.
Makes a function profiled in Godot’s built-in profiler. This macro automatically creates a tag using the name of the current module and the function by default.

Derive Macros

Enable struct types to be parsed as argument lists.
Makes it possible to use a type as a NativeScript.