1 2 3 4 5 6 7 8 9 10
use gdnative::prelude::*; #[derive(FromVariant)] pub struct Foo { // the path to the module must be wrapped in double quotes (a string) #[variant(with = path)] bar: String, } fn main() {}