macro_rules! godot_wrap_method {
(
$type_name:ty,
fn $method_name:ident(
&mut $self:ident
$(,$pname:ident : $pty:ty)*
) -> $retty:ty
) => { ... };
}
Expand description
Convenience macro to wrap an object’s method into a function pointer that can be passed to the engine when registering a class.