Lines Matching refs:Rust
1 Use in Rust {#flatbuffers_guide_use_rust}
6 Before diving into the FlatBuffers usage in Rust, it should be noted that
8 to general FlatBuffers usage in all of the supported languages (including Rust).
10 Rust.
20 matter), you've generated a Rust file called `mygame_generated.rs` using the
26 ## FlatBuffers Rust library code location
28 The code for the FlatBuffers Rust library can be found at
32 ## Testing the FlatBuffers Rust library
34 The code to test the Rust library can be found at `flatbuffers/tests/rust_usage_test`.
45 *Note: The shell script requires [Rust](https://www.rust-lang.org) to
48 ## Using the FlatBuffers Rust library
51 example of how to use FlatBuffers in Rust.*
53 FlatBuffers supports both reading and writing FlatBuffers in Rust.
55 To use FlatBuffers in your code, first generate the Rust modules from your
59 For example, here is how you would read a FlatBuffer binary file in Rust:
63 This full example program is available in the Rust test suite:
137 very quick. These offsets are used to index into Rust slices, so they are
138 bounds-checked by the Rust runtime. However, our Rust implementation may
148 The C++ port provides a buffer verifier. At this time, Rust does not. Rust may
149 provide a verifier in a future version. In the meantime, Rust users can access