#[script_bindings]
Expand description
Derive macro for generating script bindings from an impl block.
Generates a registration function with visibility determined by the highest visibility in the impl block.
Does not support generics.
Arguments:
name
: the name to use to suffix the generated function, i.e.test_fn
will generateregister_test_fn. Defaults to
functions`remote
: If true the original impl block will be ignored, and only the function registrations will be generatedbms_core_path
: If set the path to override bms imports, normally only used internallyunregistered
: If set, will usenew_unregistered
instead ofnew
for the namespace buildercore
: If set, marks the type ascore
using theMarkAsCore
type datasignificant
: If set, marks the type assignificant
using theMarkAsSignificant
type data
It is encouraged to place significant
markers on your own types, for the purposes of documentation generation.