Export properties · Issue #3 · godot-rust/gdext (original) (raw)

Allow a way to export Rust fields as GDScript properties, e.g.:

#[export] my_field: i32,

This tracks the basic feature, all the customization around GDScript's @export can come later.

Until this is implemented, #[func] functions can serve as a workaround to pass data back and forth.