Lines Matching full:flatbuffers

1 // automatically generated by the FlatBuffers compiler, do not modify
10 extern crate flatbuffers;
11 use self::flatbuffers::EndianScalar;
21 extern crate flatbuffers;
22 use self::flatbuffers::EndianScalar;
28 pub _tab: flatbuffers::Table<'a>,
31 impl<'a> flatbuffers::Follow<'a> for InParentNamespace<'a> {
36 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
47 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
54 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
55 _args: &'args InParentNamespaceArgs) -> flatbuffers::WIPOffset<InParentNamespace<'bldr>> { in create()
72 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>,
73 start_: flatbuffers::WIPOffset<flatbuffers::TableUnfinishedWIPOffset>,
77 pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> InParentNamespaceBuilder<'a, 'b> { in new()
85 pub fn finish(self) -> flatbuffers::WIPOffset<InParentNamespace<'a>> { in finish()
87 flatbuffers::WIPOffset::new(o.value()) in finish()
99 extern crate flatbuffers;
100 use self::flatbuffers::EndianScalar;
106 pub _tab: flatbuffers::Table<'a>,
109 impl<'a> flatbuffers::Follow<'a> for Monster<'a> {
114 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
125 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
132 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
133 _args: &'args MonsterArgs) -> flatbuffers::WIPOffset<Monster<'bldr>> { in create()
150 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>,
151 start_: flatbuffers::WIPOffset<flatbuffers::TableUnfinishedWIPOffset>,
155 pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MonsterBuilder<'a, 'b> { in new()
163 pub fn finish(self) -> flatbuffers::WIPOffset<Monster<'a>> { in finish()
165 flatbuffers::WIPOffset::new(o.value()) in finish()
179 extern crate flatbuffers;
180 use self::flatbuffers::EndianScalar;
199 impl<'a> flatbuffers::Follow<'a> for Color {
203 flatbuffers::read_scalar_at::<Self>(buf, loc) in follow()
207 impl flatbuffers::EndianScalar for Color {
222 impl flatbuffers::Push for Color {
226 flatbuffers::emplace_scalar::<Color>(dst, *self); in push()
268 impl<'a> flatbuffers::Follow<'a> for Race {
272 flatbuffers::read_scalar_at::<Self>(buf, loc) in follow()
276 impl flatbuffers::EndianScalar for Race {
291 impl flatbuffers::Push for Race {
295 flatbuffers::emplace_scalar::<Race>(dst, *self); in push()
334 impl<'a> flatbuffers::Follow<'a> for Any {
338 flatbuffers::read_scalar_at::<Self>(buf, loc) in follow()
342 impl flatbuffers::EndianScalar for Any {
357 impl flatbuffers::Push for Any {
361 flatbuffers::emplace_scalar::<Any>(dst, *self); in push()
401 impl<'a> flatbuffers::Follow<'a> for AnyUniqueAliases {
405 flatbuffers::read_scalar_at::<Self>(buf, loc) in follow()
409 impl flatbuffers::EndianScalar for AnyUniqueAliases {
424 impl flatbuffers::Push for AnyUniqueAliases {
428 flatbuffers::emplace_scalar::<AnyUniqueAliases>(dst, *self); in push()
468 impl<'a> flatbuffers::Follow<'a> for AnyAmbiguousAliases {
472 flatbuffers::read_scalar_at::<Self>(buf, loc) in follow()
476 impl flatbuffers::EndianScalar for AnyAmbiguousAliases {
491 impl flatbuffers::Push for AnyAmbiguousAliases {
495 flatbuffers::emplace_scalar::<AnyAmbiguousAliases>(dst, *self); in push()
529 impl flatbuffers::SafeSliceAccess for Test {}
530 impl<'a> flatbuffers::Follow<'a> for Test {
537 impl<'a> flatbuffers::Follow<'a> for &'a Test { impl
541 flatbuffers::follow_cast_ref::<Test>(buf, loc) in follow()
544 impl<'b> flatbuffers::Push for Test {
554 impl<'b> flatbuffers::Push for &'b Test { impl
602 impl flatbuffers::SafeSliceAccess for Vec3 {}
603 impl<'a> flatbuffers::Follow<'a> for Vec3 {
610 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { impl
614 flatbuffers::follow_cast_ref::<Vec3>(buf, loc) in follow()
617 impl<'b> flatbuffers::Push for Vec3 {
627 impl<'b> flatbuffers::Push for &'b Vec3 { impl
686 impl flatbuffers::SafeSliceAccess for Ability {}
687 impl<'a> flatbuffers::Follow<'a> for Ability {
694 impl<'a> flatbuffers::Follow<'a> for &'a Ability { impl
698 flatbuffers::follow_cast_ref::<Ability>(buf, loc) in follow()
701 impl<'b> flatbuffers::Push for Ability {
711 impl<'b> flatbuffers::Push for &'b Ability { impl
758 pub _tab: flatbuffers::Table<'a>,
761 impl<'a> flatbuffers::Follow<'a> for TestSimpleTableWithEnum<'a> {
766 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
777 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
784 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
785 …args: &'args TestSimpleTableWithEnumArgs) -> flatbuffers::WIPOffset<TestSimpleTableWithEnum<'bldr>… in create()
791 pub const VT_COLOR: flatbuffers::VOffsetT = 4;
811 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>,
812 start_: flatbuffers::WIPOffset<flatbuffers::TableUnfinishedWIPOffset>,
820 …pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TestSimpleTableWithEnumBuilder<'a,… in new()
828 pub fn finish(self) -> flatbuffers::WIPOffset<TestSimpleTableWithEnum<'a>> { in finish()
830 flatbuffers::WIPOffset::new(o.value()) in finish()
838 pub _tab: flatbuffers::Table<'a>,
841 impl<'a> flatbuffers::Follow<'a> for Stat<'a> {
846 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
857 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
864 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
865 args: &'args StatArgs<'args>) -> flatbuffers::WIPOffset<Stat<'bldr>> { in create()
873 pub const VT_ID: flatbuffers::VOffsetT = 4;
874 pub const VT_VAL: flatbuffers::VOffsetT = 6;
875 pub const VT_COUNT: flatbuffers::VOffsetT = 8;
879 self._tab.get::<flatbuffers::ForwardsUOffset<&str>>(Stat::VT_ID, None) in id()
892 pub id: Option<flatbuffers::WIPOffset<&'a str>>,
907 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>,
908 start_: flatbuffers::WIPOffset<flatbuffers::TableUnfinishedWIPOffset>,
912 pub fn add_id(&mut self, id: flatbuffers::WIPOffset<&'b str>) { in add_id()
913 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Stat::VT_ID, id); in add_id()
924 pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatBuilder<'a, 'b> { in new()
932 pub fn finish(self) -> flatbuffers::WIPOffset<Stat<'a>> { in finish()
934 flatbuffers::WIPOffset::new(o.value()) in finish()
942 pub _tab: flatbuffers::Table<'a>,
945 impl<'a> flatbuffers::Follow<'a> for Referrable<'a> {
950 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
961 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
968 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
969 args: &'args ReferrableArgs) -> flatbuffers::WIPOffset<Referrable<'bldr>> { in create()
975 pub const VT_ID: flatbuffers::VOffsetT = 4;
1005 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>,
1006 start_: flatbuffers::WIPOffset<flatbuffers::TableUnfinishedWIPOffset>,
1014 pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ReferrableBuilder<'a, 'b> { in new()
1022 pub fn finish(self) -> flatbuffers::WIPOffset<Referrable<'a>> { in finish()
1024 flatbuffers::WIPOffset::new(o.value()) in finish()
1033 pub _tab: flatbuffers::Table<'a>,
1036 impl<'a> flatbuffers::Follow<'a> for Monster<'a> {
1041 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
1052 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
1059 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
1060 args: &'args MonsterArgs<'args>) -> flatbuffers::WIPOffset<Monster<'bldr>> { in create()
1113 pub const VT_POS: flatbuffers::VOffsetT = 4;
1114 pub const VT_MANA: flatbuffers::VOffsetT = 6;
1115 pub const VT_HP: flatbuffers::VOffsetT = 8;
1116 pub const VT_NAME: flatbuffers::VOffsetT = 10;
1117 pub const VT_INVENTORY: flatbuffers::VOffsetT = 14;
1118 pub const VT_COLOR: flatbuffers::VOffsetT = 16;
1119 pub const VT_TEST_TYPE: flatbuffers::VOffsetT = 18;
1120 pub const VT_TEST: flatbuffers::VOffsetT = 20;
1121 pub const VT_TEST4: flatbuffers::VOffsetT = 22;
1122 pub const VT_TESTARRAYOFSTRING: flatbuffers::VOffsetT = 24;
1123 pub const VT_TESTARRAYOFTABLES: flatbuffers::VOffsetT = 26;
1124 pub const VT_ENEMY: flatbuffers::VOffsetT = 28;
1125 pub const VT_TESTNESTEDFLATBUFFER: flatbuffers::VOffsetT = 30;
1126 pub const VT_TESTEMPTY: flatbuffers::VOffsetT = 32;
1127 pub const VT_TESTBOOL: flatbuffers::VOffsetT = 34;
1128 pub const VT_TESTHASHS32_FNV1: flatbuffers::VOffsetT = 36;
1129 pub const VT_TESTHASHU32_FNV1: flatbuffers::VOffsetT = 38;
1130 pub const VT_TESTHASHS64_FNV1: flatbuffers::VOffsetT = 40;
1131 pub const VT_TESTHASHU64_FNV1: flatbuffers::VOffsetT = 42;
1132 pub const VT_TESTHASHS32_FNV1A: flatbuffers::VOffsetT = 44;
1133 pub const VT_TESTHASHU32_FNV1A: flatbuffers::VOffsetT = 46;
1134 pub const VT_TESTHASHS64_FNV1A: flatbuffers::VOffsetT = 48;
1135 pub const VT_TESTHASHU64_FNV1A: flatbuffers::VOffsetT = 50;
1136 pub const VT_TESTARRAYOFBOOLS: flatbuffers::VOffsetT = 52;
1137 pub const VT_TESTF: flatbuffers::VOffsetT = 54;
1138 pub const VT_TESTF2: flatbuffers::VOffsetT = 56;
1139 pub const VT_TESTF3: flatbuffers::VOffsetT = 58;
1140 pub const VT_TESTARRAYOFSTRING2: flatbuffers::VOffsetT = 60;
1141 pub const VT_TESTARRAYOFSORTEDSTRUCT: flatbuffers::VOffsetT = 62;
1142 pub const VT_FLEX: flatbuffers::VOffsetT = 64;
1143 pub const VT_TEST5: flatbuffers::VOffsetT = 66;
1144 pub const VT_VECTOR_OF_LONGS: flatbuffers::VOffsetT = 68;
1145 pub const VT_VECTOR_OF_DOUBLES: flatbuffers::VOffsetT = 70;
1146 pub const VT_PARENT_NAMESPACE_TEST: flatbuffers::VOffsetT = 72;
1147 pub const VT_VECTOR_OF_REFERRABLES: flatbuffers::VOffsetT = 74;
1148 pub const VT_SINGLE_WEAK_REFERENCE: flatbuffers::VOffsetT = 76;
1149 pub const VT_VECTOR_OF_WEAK_REFERENCES: flatbuffers::VOffsetT = 78;
1150 pub const VT_VECTOR_OF_STRONG_REFERRABLES: flatbuffers::VOffsetT = 80;
1151 pub const VT_CO_OWNING_REFERENCE: flatbuffers::VOffsetT = 82;
1152 pub const VT_VECTOR_OF_CO_OWNING_REFERENCES: flatbuffers::VOffsetT = 84;
1153 pub const VT_NON_OWNING_REFERENCE: flatbuffers::VOffsetT = 86;
1154 pub const VT_VECTOR_OF_NON_OWNING_REFERENCES: flatbuffers::VOffsetT = 88;
1155 pub const VT_ANY_UNIQUE_TYPE: flatbuffers::VOffsetT = 90;
1156 pub const VT_ANY_UNIQUE: flatbuffers::VOffsetT = 92;
1157 pub const VT_ANY_AMBIGUOUS_TYPE: flatbuffers::VOffsetT = 94;
1158 pub const VT_ANY_AMBIGUOUS: flatbuffers::VOffsetT = 96;
1159 pub const VT_VECTOR_OF_ENUMS: flatbuffers::VOffsetT = 98;
1160 pub const VT_SIGNED_ENUM: flatbuffers::VOffsetT = 100;
1176 self._tab.get::<flatbuffers::ForwardsUOffset<&str>>(Monster::VT_NAME, None).unwrap() in name()
1190 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u8>>>(Monster::VT_INVENTORY, … in inventory()
1201 pub fn test(&self) -> Option<flatbuffers::Table<'a>> { in test()
1202 self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Table<'a>>>(Monster::VT_TEST, None) in test()
1206 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<Test>>>(Monster::VT_TEST4, None).… in test4()
1209 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring()
1210 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<flatbuffers::ForwardsUOffset<&'a … in testarrayofstring()
1215 …pub fn testarrayoftables(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<Mon… in testarrayoftables()
1216 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<flatbuffers::ForwardsUOffset<Mons… in testarrayoftables()
1220 self._tab.get::<flatbuffers::ForwardsUOffset<Monster<'a>>>(Monster::VT_ENEMY, None) in enemy()
1224 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u8>>>(Monster::VT_TESTNESTEDF… in testnestedflatbuffer()
1230 use self::flatbuffers::Follow; in testnestedflatbuffer_nested_flatbuffer()
1231 Some(<flatbuffers::ForwardsUOffset<Monster<'a>>>::follow(data, 0)) in testnestedflatbuffer_nested_flatbuffer()
1237 self._tab.get::<flatbuffers::ForwardsUOffset<Stat<'a>>>(Monster::VT_TESTEMPTY, None) in testempty()
1277 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, bool>>>(Monster::VT_TESTARRAY… in testarrayofbools()
1292 …pub fn testarrayofstring2(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'… in testarrayofstring2()
1293 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<flatbuffers::ForwardsUOffset<&'a … in testarrayofstring2()
1297 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<Ability>>>(Monster::VT_TESTARRAYO… in testarrayofsortedstruct()
1301 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u8>>>(Monster::VT_FLEX, None)… in flex()
1305 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<Test>>>(Monster::VT_TEST5, None).… in test5()
1308 pub fn vector_of_longs(&self) -> Option<flatbuffers::Vector<'a, i64>> { in vector_of_longs()
1309 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, i64>>>(Monster::VT_VECTOR_OF_… in vector_of_longs()
1312 pub fn vector_of_doubles(&self) -> Option<flatbuffers::Vector<'a, f64>> { in vector_of_doubles()
1313 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, f64>>>(Monster::VT_VECTOR_OF_… in vector_of_doubles()
1317 …self._tab.get::<flatbuffers::ForwardsUOffset<super::InParentNamespace<'a>>>(Monster::VT_PARENT_NAM… in parent_namespace_test()
1320 …pub fn vector_of_referrables(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset… in vector_of_referrables()
1321 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<flatbuffers::ForwardsUOffset<Refe… in vector_of_referrables()
1328 pub fn vector_of_weak_references(&self) -> Option<flatbuffers::Vector<'a, u64>> { in vector_of_weak_references()
1329 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u64>>>(Monster::VT_VECTOR_OF_… in vector_of_weak_references()
1332 …pub fn vector_of_strong_referrables(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::Forwards… in vector_of_strong_referrables()
1333 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<flatbuffers::ForwardsUOffset<Refe… in vector_of_strong_referrables()
1340 pub fn vector_of_co_owning_references(&self) -> Option<flatbuffers::Vector<'a, u64>> { in vector_of_co_owning_references()
1341 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u64>>>(Monster::VT_VECTOR_OF_… in vector_of_co_owning_references()
1348 pub fn vector_of_non_owning_references(&self) -> Option<flatbuffers::Vector<'a, u64>> { in vector_of_non_owning_references()
1349 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u64>>>(Monster::VT_VECTOR_OF_… in vector_of_non_owning_references()
1356 pub fn any_unique(&self) -> Option<flatbuffers::Table<'a>> { in any_unique()
1357 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Table<'a>>>(Monster::VT_ANY_UNIQUE, None) in any_unique()
1364 pub fn any_ambiguous(&self) -> Option<flatbuffers::Table<'a>> { in any_ambiguous()
1365 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Table<'a>>>(Monster::VT_ANY_AMBIGUOUS, N… in any_ambiguous()
1368 pub fn vector_of_enums(&self) -> Option<flatbuffers::Vector<'a, Color>> { in vector_of_enums()
1369 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, Color>>>(Monster::VT_VECTOR_O… in vector_of_enums()
1471 pub name: Option<flatbuffers::WIPOffset<&'a str>>,
1472 pub inventory: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , u8>>>,
1475 pub test: Option<flatbuffers::WIPOffset<flatbuffers::UnionWIPOffset>>,
1476 pub test4: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , Test>>>,
1477 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::Forward…
1478 …pub testarrayoftables: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::Forward…
1479 pub enemy: Option<flatbuffers::WIPOffset<Monster<'a >>>,
1480 pub testnestedflatbuffer: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , u8>>>,
1481 pub testempty: Option<flatbuffers::WIPOffset<Stat<'a >>>,
1491 pub testarrayofbools: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , bool>>>,
1495 …pub testarrayofstring2: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::Forwar…
1496 pub testarrayofsortedstruct: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , Ability>>>,
1497 pub flex: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , u8>>>,
1498 pub test5: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , Test>>>,
1499 pub vector_of_longs: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , i64>>>,
1500 pub vector_of_doubles: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , f64>>>,
1501 pub parent_namespace_test: Option<flatbuffers::WIPOffset<super::InParentNamespace<'a >>>,
1502 …pub vector_of_referrables: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::For…
1504 pub vector_of_weak_references: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , u64>>>,
1505 …pub vector_of_strong_referrables: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffe…
1507 …pub vector_of_co_owning_references: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , u64>>>,
1509 …pub vector_of_non_owning_references: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , u64>>…
1511 pub any_unique: Option<flatbuffers::WIPOffset<flatbuffers::UnionWIPOffset>>,
1513 pub any_ambiguous: Option<flatbuffers::WIPOffset<flatbuffers::UnionWIPOffset>>,
1514 pub vector_of_enums: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , Color>>>,
1573 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>,
1574 start_: flatbuffers::WIPOffset<flatbuffers::TableUnfinishedWIPOffset>,
1590 pub fn add_name(&mut self, name: flatbuffers::WIPOffset<&'b str>) { in add_name()
1591 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_NAME, name); in add_name()
1594 pub fn add_inventory(&mut self, inventory: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) { in add_inventory()
1595 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_INVENTORY, inventory); in add_inventory()
1606 pub fn add_test(&mut self, test: flatbuffers::WIPOffset<flatbuffers::UnionWIPOffset>) { in add_test()
1607 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TEST, test); in add_test()
1610 pub fn add_test4(&mut self, test4: flatbuffers::WIPOffset<flatbuffers::Vector<'b , Test>>) { in add_test4()
1611 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TEST4, test4); in add_test4()
1614 …estarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vector<'b , fla… in add_testarrayofstring()
1615 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayof… in add_testarrayofstring()
1618 …estarrayoftables(&mut self, testarrayoftables: flatbuffers::WIPOffset<flatbuffers::Vector<'b , fla… in add_testarrayoftables()
1619 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFTABLES, testarrayof… in add_testarrayoftables()
1622 pub fn add_enemy(&mut self, enemy: flatbuffers::WIPOffset<Monster<'b >>) { in add_enemy()
1623 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<Monster>>(Monster::VT_ENEMY, enemy); in add_enemy()
1626 … add_testnestedflatbuffer(&mut self, testnestedflatbuffer: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testnestedflatbuffer()
1627 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTNESTEDFLATBUFFER, testnest… in add_testnestedflatbuffer()
1630 pub fn add_testempty(&mut self, testempty: flatbuffers::WIPOffset<Stat<'b >>) { in add_testempty()
1631 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<Stat>>(Monster::VT_TESTEMPTY, testempty); in add_testempty()
1670 …pub fn add_testarrayofbools(&mut self, testarrayofbools: flatbuffers::WIPOffset<flatbuffers::Vecto… in add_testarrayofbools()
1671 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFBOOLS, testarrayofb… in add_testarrayofbools()
1686 …tarrayofstring2(&mut self, testarrayofstring2: flatbuffers::WIPOffset<flatbuffers::Vector<'b , fla… in add_testarrayofstring2()
1687 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING2, testarrayo… in add_testarrayofstring2()
1690 …estarrayofsortedstruct(&mut self, testarrayofsortedstruct: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofsortedstruct()
1691 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSORTEDSTRUCT, testa… in add_testarrayofsortedstruct()
1694 pub fn add_flex(&mut self, flex: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) { in add_flex()
1695 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_FLEX, flex); in add_flex()
1698 pub fn add_test5(&mut self, test5: flatbuffers::WIPOffset<flatbuffers::Vector<'b , Test>>) { in add_test5()
1699 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TEST5, test5); in add_test5()
1702 …pub fn add_vector_of_longs(&mut self, vector_of_longs: flatbuffers::WIPOffset<flatbuffers::Vector<… in add_vector_of_longs()
1703 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_LONGS, vector_of_lon… in add_vector_of_longs()
1706 …pub fn add_vector_of_doubles(&mut self, vector_of_doubles: flatbuffers::WIPOffset<flatbuffers::Vec… in add_vector_of_doubles()
1707 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_DOUBLES, vector_of_d… in add_vector_of_doubles()
1710 …pub fn add_parent_namespace_test(&mut self, parent_namespace_test: flatbuffers::WIPOffset<super::I… in add_parent_namespace_test()
1711 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<super::InParentNamespace>>(Monster::VT_PARENT_… in add_parent_namespace_test()
1714 …_referrables(&mut self, vector_of_referrables: flatbuffers::WIPOffset<flatbuffers::Vector<'b , fla… in add_vector_of_referrables()
1715 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_REFERRABLES, vector_… in add_vector_of_referrables()
1722 …r_of_weak_references(&mut self, vector_of_weak_references: flatbuffers::WIPOffset<flatbuffers::Vec… in add_vector_of_weak_references()
1723 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_WEAK_REFERENCES, vec… in add_vector_of_weak_references()
1726 …ables(&mut self, vector_of_strong_referrables: flatbuffers::WIPOffset<flatbuffers::Vector<'b , fla… in add_vector_of_strong_referrables()
1727 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_STRONG_REFERRABLES, … in add_vector_of_strong_referrables()
1734 …ning_references(&mut self, vector_of_co_owning_references: flatbuffers::WIPOffset<flatbuffers::Vec… in add_vector_of_co_owning_references()
1735 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_CO_OWNING_REFERENCES… in add_vector_of_co_owning_references()
1742 …ing_references(&mut self, vector_of_non_owning_references: flatbuffers::WIPOffset<flatbuffers::Vec… in add_vector_of_non_owning_references()
1743 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_NON_OWNING_REFERENCE… in add_vector_of_non_owning_references()
1750 …pub fn add_any_unique(&mut self, any_unique: flatbuffers::WIPOffset<flatbuffers::UnionWIPOffset>) { in add_any_unique()
1751 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_ANY_UNIQUE, any_unique); in add_any_unique()
1758 …pub fn add_any_ambiguous(&mut self, any_ambiguous: flatbuffers::WIPOffset<flatbuffers::UnionWIPOff… in add_any_ambiguous()
1759 … self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_ANY_AMBIGUOUS, any_ambiguous); in add_any_ambiguous()
1762 …pub fn add_vector_of_enums(&mut self, vector_of_enums: flatbuffers::WIPOffset<flatbuffers::Vector<… in add_vector_of_enums()
1763 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_VECTOR_OF_ENUMS, vector_of_enu… in add_vector_of_enums()
1770 pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MonsterBuilder<'a, 'b> { in new()
1778 pub fn finish(self) -> flatbuffers::WIPOffset<Monster<'a>> { in finish()
1781 flatbuffers::WIPOffset::new(o.value()) in finish()
1789 pub _tab: flatbuffers::Table<'a>,
1792 impl<'a> flatbuffers::Follow<'a> for TypeAliases<'a> {
1797 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
1808 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
1815 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
1816 args: &'args TypeAliasesArgs<'args>) -> flatbuffers::WIPOffset<TypeAliases<'bldr>> { in create()
1833 pub const VT_I8_: flatbuffers::VOffsetT = 4;
1834 pub const VT_U8_: flatbuffers::VOffsetT = 6;
1835 pub const VT_I16_: flatbuffers::VOffsetT = 8;
1836 pub const VT_U16_: flatbuffers::VOffsetT = 10;
1837 pub const VT_I32_: flatbuffers::VOffsetT = 12;
1838 pub const VT_U32_: flatbuffers::VOffsetT = 14;
1839 pub const VT_I64_: flatbuffers::VOffsetT = 16;
1840 pub const VT_U64_: flatbuffers::VOffsetT = 18;
1841 pub const VT_F32_: flatbuffers::VOffsetT = 20;
1842 pub const VT_F64_: flatbuffers::VOffsetT = 22;
1843 pub const VT_V8: flatbuffers::VOffsetT = 24;
1844 pub const VT_VF64: flatbuffers::VOffsetT = 26;
1888 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, i8>>>(TypeAliases::VT_V8, Non… in v8()
1891 pub fn vf64(&self) -> Option<flatbuffers::Vector<'a, f64>> { in vf64()
1892 …self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, f64>>>(TypeAliases::VT_VF64, … in vf64()
1907 pub v8: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , i8>>>,
1908 pub vf64: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , f64>>>,
1930 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>,
1931 start_: flatbuffers::WIPOffset<flatbuffers::TableUnfinishedWIPOffset>,
1975 pub fn add_v8(&mut self, v8: flatbuffers::WIPOffset<flatbuffers::Vector<'b , i8>>) { in add_v8()
1976 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(TypeAliases::VT_V8, v8); in add_v8()
1979 pub fn add_vf64(&mut self, vf64: flatbuffers::WIPOffset<flatbuffers::Vector<'b , f64>>) { in add_vf64()
1980 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(TypeAliases::VT_VF64, vf64); in add_vf64()
1983 pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TypeAliasesBuilder<'a, 'b> { in new()
1991 pub fn finish(self) -> flatbuffers::WIPOffset<TypeAliases<'a>> { in finish()
1993 flatbuffers::WIPOffset::new(o.value()) in finish()
1999 flatbuffers::get_root::<Monster<'a>>(buf) in get_root_as_monster()
2004 flatbuffers::get_size_prefixed_root::<Monster<'a>>(buf) in get_size_prefixed_root_as_monster()
2011 return flatbuffers::buffer_has_identifier(buf, MONSTER_IDENTIFIER, false); in monster_buffer_has_identifier()
2016 return flatbuffers::buffer_has_identifier(buf, MONSTER_IDENTIFIER, true); in monster_size_prefixed_buffer_has_identifier()
2023 fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>, in finish_monster_buffer()
2024 root: flatbuffers::WIPOffset<Monster<'a>>) { in finish_monster_buffer()
2029 …size_prefixed_monster_buffer<'a, 'b>(fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>, root: flatbu… in finish_size_prefixed_monster_buffer()