#[derive(CustomType)]
{
// Attributes available to this derive:
#[rhai_type]
}
Expand description
Re-export the codegen namespace.
Macro to implement the [CustomType
][rhai::CustomType] trait.
ยงUsage
use rhai::{CustomType, TypeBuilder};
#[derive(Clone, CustomType)]
struct MyType {
foo: i64,
bar: bool,
baz: String
}