Crate data_model
source ·Re-exports§
pub use crate::endian::*;
Modules§
- Explicit endian types useful for embedding in structs or reinterpreting data.
- A wrapper for structures that contain flexible arrays.
Macros§
- Always use this macro for implementing the FlexibleArray<
S
> trait for a givenT
. 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§
Traits§
- The following code provides generic helpers for creating and accessing flexible array structs. A complete definition of flexible array structs is found in the ISO 9899 specification http://www.iso-9899.info/n1570.html. A flexible array struct is of the form:
Functions§
- The kernel API has many structs that resemble the following
Foo
structure: