Issue#6959 :Updated Automatically generated rust files. (#7425)

* test

* only rust files

* updated idl_gen_rust.cpp
This commit is contained in:
Yashasvi Chaurasia
2022-08-10 18:45:35 +05:30
committed by GitHub
parent 7798be3bb6
commit 9dce287adb
93 changed files with 95 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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_);

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;