fxtMacro trace_header
Source macro_rules! trace_header {
($name:ident (max_size_bit: $upper_size_bit:literal) ($size_ty:ty) $(($header_ty:expr))? {
$($field_ty:ty, $getter:ident: $start_bit:literal, $end_bit:literal;)*
}) => { ... };
($name:ident $(($header_ty:expr))? {
$($field_ty:ty, $getter:ident: $start_bit:literal, $end_bit:literal;)*
}) => { ... };
(
$name:ident $(($header_ty:expr))? {
$($field_ty:ty, $getter:ident: $start_bit:literal, $end_bit:literal;)*
} => |$header:ident $(: $header_arg_ty:ty)?| $verify:expr
) => { ... };
(
$name:ident (max_size_bit: $upper_size_bit:literal) ($size_ty:ty) $(($header_ty:expr))? {
$($field_ty:ty, $getter:ident: $start_bit:literal, $end_bit:literal;)*
} => |$header:ident $(: $header_arg_ty:ty)?| $verify:expr
) => { ... };
}