Expand description
This crate is a Rust implementaton of the XBF serialization and deserialization format.
The format itself is described here
Modules§
- prelude
- The XBF prelude imports the various conversions traits to make creating xbf types as ergonomic
as possible. The intention is to include
use xbf_rs::prelude::*;
and have easy access to the majority of things you’ll need.
Structs§
- Elements
NotHomogenous Error - Error type for
XbfVec
- XbfStruct
- A struct as defined by the XBF specification.
- XbfStruct
Metadata - Metadata for a Struct type.
- XbfVec
- A vector type as defined by the XBF specification.
- XbfVec
Metadata - Metadata for a Vec type.
Enums§
- Struct
Error - Error type for creating an
XbfStruct
. - XbfMetadata
- XbfPrimitive
- A primitive type as defined by the XBF specification.
- XbfPrimitive
Metadata - Metadata for a primitive type.
- XbfType
Constants§
- STRUCT_
METADATA_ DISCRIMINANT - The metadata discriminant for a Struct type.
- VEC_
METADATA_ DISCRIMINANT - The metadata discriminant for a Vec type.
Traits§
- Native
ToXbf Primitive - A trait for converting native Rust types to
XbfPrimitive
types. - XbfMetadata
Upcast - XbfType
Upcast