Crate flatbuffers [−] [src]
Rust support for Flatbuffers.
FlatBuffers is an efficient cross platform serialization library for games and other memory constrained apps. It allows you to directly access serialized data without unpacking/parsing it first, while still having great forwards/backwards compatibility.
Modules
macros |
Macros to generate code for Flatbuffer objects. |
Macros
basic_struct_def! | |
simple_enum! | |
struct_fn! | |
struct_get_fn! | |
struct_object! | |
table_fn! | |
table_get_fn! | |
table_object! | |
table_object_trait! | |
union! |
Structs
Builder |
Builder provides functions to build Flatbuffer data. |
Iterator |
An iterator over flatbuffer vectors. |
Table |
Table provides functions to read Flatbuffer data. |
Traits
LittleEndianReader |
A trait for handling little endian encoding of byte arrays. |
TableObject |
A trait for Structs and Tables to implement. |
Functions
read_soffset |
Read a Signed offset value at given offset |
read_uoffset |
Read a Unsigned offset value at given offset |
read_voffset |
Read a Signed offset value at given offset |
Type Definitions
SOffsetT |
A SOffsetT stores a signed offset into arbitrary data. |
UOffsetT |
A UOffsetT stores an unsigned offset into vector data. |
VOffsetT |
A VOffsetT stores an unsigned offset in a vtable. |