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
438 B
Java
17 lines
438 B
Java
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package MyGame.Example;
|
|
|
|
public final class AnyUniqueAliases {
|
|
private AnyUniqueAliases() { }
|
|
public static final byte NONE = 0;
|
|
public static final byte M = 1;
|
|
public static final byte TS = 2;
|
|
public static final byte M2 = 3;
|
|
|
|
public static final String[] names = { "NONE", "M", "TS", "M2", };
|
|
|
|
public static String name(int e) { return names[e]; }
|
|
}
|
|
|