Crate data_model

Source

Re-exports§

pub use crate::endian::*;

Modules§

endian
Explicit endian types useful for embedding in structs or reinterpreting data.
flexible_array 🔒
A wrapper for structures that contain flexible arrays.

Macros§

flexible_array_impl
Always use this macro for implementing the FlexibleArray<S> trait for a given T. There exists an 1:1 mapping of macro identifiers to the definitions in the FlexibleArray<S> documentation, so refer to that for more information.

Structs§

FlexibleArrayWrapper

Traits§

FlexibleArray
A collection of methods that are required by the FlexibleArrayWrapper type.

Functions§

vec_with_array_field
The kernel API has many structs that resemble the following Foo structure: