Home
last modified time | relevance | path

Searched refs:get_root_as_monster (Results 1 – 9 of 9) sorted by relevance

/external/flatbuffers/samples/
Dsample_binary.rs23 pub use monster_generated::my_game::sample::{get_root_as_monster,
101 let monster = get_root_as_monster(buf); in main()
Dmonster_generated.rs485 pub fn get_root_as_monster<'a>(buf: &'a [u8]) -> Monster<'a> { in get_root_as_monster() function
/external/flatbuffers/tests/rust_usage_test/bin/
Dmonster_example.rs24 let monster = my_game::example::get_root_as_monster(&buf[..]); in main()
Dalloc_check.rs111 let m = my_game::example::get_root_as_monster(buf); in main()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs166 my_game::example::get_root_as_monster(bytes) in serialized_example_is_accessible_and_correct()
345 … let monster: my_game::example::Monster<'static> = my_game::example::get_root_as_monster(slice); in table_get_field_from_static_buffer_1()
363 let monster = my_game::example::get_root_as_monster(&buf); in table_object_self_lifetime_in_closure()
386 my_game::example::get_root_as_monster(builder.finished_data()) in build_mon()
466 let mon = my_game::example::get_root_as_monster(b.finished_data()); in union_store()
502 let mon = my_game::example::get_root_as_monster(b.finished_data()); in table_full_namespace_store()
532 let mon = my_game::example::get_root_as_monster(b.finished_data()); in table_store()
569 let m = my_game::example::get_root_as_monster(b1.finished_data()); in nested_flatbuffer_store()
574 let m2_a = my_game::example::get_root_as_monster(m.testnestedflatbuffer().unwrap()); in nested_flatbuffer_store()
829 let mon = my_game::example::get_root_as_monster(buf); in struct_vec3_is_written_with_correct_alignment_in_table()
[all …]
/external/flatbuffers/docs/source/
DRustUsage.md61 a `u8` vector, which you pass, as a byte slice, to `get_root_as_monster()`.
83 let monster = my_game::example::get_root_as_monster(&buf[..]);
DTutorial.md528 pub use monster_generated::my_game::sample::{get_root_as_monster,
2289 pub use monster_generated::my_game::sample::{get_root_as_monster,
2437 let monster = get_root_as_monster(buf);
/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs128 let m = my_game::example::get_root_as_monster(bytes); in traverse_serialized_example_with_generated_code()
/external/flatbuffers/tests/
Dmonster_test_generated.rs1998 pub fn get_root_as_monster<'a>(buf: &'a [u8]) -> Monster<'a> { in get_root_as_monster() function