Macro gdnative_derive::godot_wrap_method
source · godot_wrap_method!() { /* proc-macro */ }
👎Deprecated: The legacy manual export macro is deprecated and will be removed in a future godot-rust version. Either use the
#[methods]
attribute macro, or implement the Method
trait manually instead.Expand description
Convenience macro to wrap an object’s method into a Method
implementor
that can be passed to the engine when registering a class.