Macro blaze_pk::group

source ·
macro_rules! group {
    (
        struct $name:ident {
            $(
                $tag:ident $field:ident: $ty:ty
            ),* $(,)?
        }
    ) => { ... };
    (
        (2) struct $name:ident {
            $(
                $tag:ident $field:ident: $ty:ty
            ),* $(,)?
        }
    ) => { ... };
}
Expand description

Macro for generating group structures prefixing the struct with (2) indicates that when encoding a byte value of two should be placed at the start.