Module binary_layout::prelude [−][src]
Import this to get everything into scope that you need for defining and using layouts.
Example
use binary_layout::prelude::*;
Re-exports
pub use crate::define_layout; |
Traits
FieldMetadata | This trait offers access to the metadata of a field in a layout |
SizedFieldMetadata | This trait offers access to the metadata of a sized field in a layout. Sized fields are all fields with a defined size. This is almost all fields. The only exception is an unsized array field that can be used to match tail data, i.e. any data at the end of the storage after all other fields were defined and until the storage ends. |