commit 6da1cf79d90eb242e7da5318241d42279a3df3ba Author: Max Burke <max@urbanlogiq.com> Date: Sun Jan 19 14:47:28 2020 -0800 [rust] Add use declarations to Rust-generated bindings for imported FB definitions (#5645) * Bugfix for Rust generation of union fields named with language keywords
17 lines
508 B
Java
17 lines
508 B
Java
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package MyGame.Example;
|
|
|
|
public final class Any {
|
|
private Any() { }
|
|
public static final byte NONE = 0;
|
|
public static final byte Monster = 1;
|
|
public static final byte TestSimpleTableWithEnum = 2;
|
|
public static final byte MyGame_Example2_Monster = 3;
|
|
|
|
public static final String[] names = { "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster", };
|
|
|
|
public static String name(int e) { return names[e]; }
|
|
}
|
|
|