rhai_test::Axes
thread 'main' panicked at src/main.rs:31:10:
called `Result::unwrap()` on an `Err` value: ErrorDotExpr("Unknown property 'x' - a getter is not registered for type 'rhai_test::Axes'", 1:38)
I see the same issue if I manually implement CustomType, so I don't think it's the macro's fault:
Using
#[derive(CustomType)]
, the resulting object doesn't appear to have getters.I see the same issue if I manually implement
CustomType
, so I don't think it's the macro's fault:However, it does work if I implement the getters as part of the
register_type
call:Am I holding
CustomType
wrong, or is there an issue here?