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
18 lines
225 B
C#
18 lines
225 B
C#
// <auto-generated>
|
|
// automatically generated by the FlatBuffers compiler, do not modify
|
|
// </auto-generated>
|
|
|
|
namespace MyGame.Example
|
|
{
|
|
|
|
public enum Race : sbyte
|
|
{
|
|
None = -1,
|
|
Human = 0,
|
|
Dwarf = 1,
|
|
Elf = 2,
|
|
};
|
|
|
|
|
|
}
|