macro_rules! define_layout {
($name: ident, $endianness: ident, {$($field_name: ident : $field_type: ty $(as $underlying_type: ty)?),* $(,)?}) => { ... };
}
👎Deprecated: The
define_layout!
macro was renamed to binary_layout!
and the old name will be removed in future versions.Expand description
Deprecated name for crate::binary_layout!. Please switch to crate::binary_layout!.