-
-
Notifications
You must be signed in to change notification settings - Fork 278
Open
Labels
questionNot a problem with the library, but a question regarding usage.Not a problem with the library, but a question regarding usage.
Description
As far as I can see right now, you cannot create a second #[godot_api] for the same structure twice.
I’m not sure if this is a well-known behavior, but I ran into it when I was moving some methods out of a large file to split the logic (over 2,000 lines). Essentially, you cannot move #[func] methods anywhere except a single file this way — and that’s quite unfortunate for large files.
The compiler itself points out that #[godot_api] can only appear once per struct impl.
My version is 0.4.4.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionNot a problem with the library, but a question regarding usage.Not a problem with the library, but a question regarding usage.