We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5936bed commit 7d7bdd7Copy full SHA for 7d7bdd7
test/src/test_export_enum.rs
@@ -1,6 +1,8 @@
1
use gdnative::prelude::*;
2
3
#[derive(Debug, PartialEq, Clone, Copy, Export, ToVariant, FromVariant)]
4
+#[variant(enum = "repr")]
5
+#[repr(i32)]
6
enum Dir {
7
Up = 1,
8
Down = -1,
0 commit comments