mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 16:53:57 +00:00
Issue#6959 :Updated Automatically generated rust files. (#7425)
* test * only rust files * updated idl_gen_rust.cpp
This commit is contained in:
committed by
GitHub
parent
7798be3bb6
commit
9dce287adb
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod my_game {
|
pub mod my_game {
|
||||||
use super::*;
|
use super::*;
|
||||||
pub mod sample {
|
pub mod sample {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -330,6 +330,7 @@ bool GenerateRustModuleRootFile(const Parser &parser,
|
|||||||
code +=
|
code +=
|
||||||
"// Automatically generated by the Flatbuffers compiler. "
|
"// Automatically generated by the Flatbuffers compiler. "
|
||||||
"Do not modify.";
|
"Do not modify.";
|
||||||
|
code += "// @generated";
|
||||||
root_module.GenerateImports(code);
|
root_module.GenerateImports(code);
|
||||||
const bool success =
|
const bool success =
|
||||||
SaveFile((output_dir + "mod.rs").c_str(), code.ToString(), false);
|
SaveFile((output_dir + "mod.rs").c_str(), code.ToString(), false);
|
||||||
@@ -367,6 +368,7 @@ class RustGenerator : public BaseGenerator {
|
|||||||
if (symbol.generated) continue;
|
if (symbol.generated) continue;
|
||||||
code_.Clear();
|
code_.Clear();
|
||||||
code_ += "// " + std::string(FlatBuffersGeneratedWarning());
|
code_ += "// " + std::string(FlatBuffersGeneratedWarning());
|
||||||
|
code_ += "// @generated";
|
||||||
code_ += "extern crate alloc;";
|
code_ += "extern crate alloc;";
|
||||||
code_ += "extern crate flatbuffers;";
|
code_ += "extern crate flatbuffers;";
|
||||||
code_ += "use alloc::boxed::Box;";
|
code_ += "use alloc::boxed::Box;";
|
||||||
@@ -423,6 +425,7 @@ class RustGenerator : public BaseGenerator {
|
|||||||
bool GenerateOneFile() {
|
bool GenerateOneFile() {
|
||||||
code_.Clear();
|
code_.Clear();
|
||||||
code_ += "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n";
|
code_ += "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n";
|
||||||
|
code_ += "// @generated";
|
||||||
|
|
||||||
assert(!cur_name_space_);
|
assert(!cur_name_space_);
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod my_game {
|
pub mod my_game {
|
||||||
use super::*;
|
use super::*;
|
||||||
pub mod example {
|
pub mod example {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod my_game {
|
pub mod my_game {
|
||||||
use super::*;
|
use super::*;
|
||||||
pub mod other_name_space {
|
pub mod other_name_space {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod my_game {
|
pub mod my_game {
|
||||||
use super::*;
|
use super::*;
|
||||||
pub mod other_name_space {
|
pub mod other_name_space {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod keyword_test {
|
pub mod keyword_test {
|
||||||
use super::*;
|
use super::*;
|
||||||
mod abc_generated;
|
mod abc_generated;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod my_game {
|
pub mod my_game {
|
||||||
use super::*;
|
use super::*;
|
||||||
pub mod example {
|
pub mod example {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod my_game {
|
pub mod my_game {
|
||||||
use super::*;
|
use super::*;
|
||||||
pub mod example {
|
pub mod example {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
mod abc_generated;
|
mod abc_generated;
|
||||||
pub use self::abc_generated::*;
|
pub use self::abc_generated::*;
|
||||||
mod more_defaults_generated;
|
mod more_defaults_generated;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod namespace_a {
|
pub mod namespace_a {
|
||||||
use super::*;
|
use super::*;
|
||||||
pub mod namespace_b {
|
pub mod namespace_b {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
pub mod optional_scalars {
|
pub mod optional_scalars {
|
||||||
use super::*;
|
use super::*;
|
||||||
mod optional_byte_generated;
|
mod optional_byte_generated;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||||
|
// @generated
|
||||||
mod ab_generated;
|
mod ab_generated;
|
||||||
pub use self::ab_generated::*;
|
pub use self::ab_generated::*;
|
||||||
mod any_generated;
|
mod any_generated;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// automatically generated by the FlatBuffers compiler, do not modify
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||||||
|
// @generated
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
use alloc::boxed::Box;
|
use alloc::boxed::Box;
|
||||||
|
|||||||
Reference in New Issue
Block a user