macro_rules! define_packet {
    ( $ty:ident { $( $field_name:ident : $field_ty:ty),+ }) => { ... };
    ( $ty:ident ) => { ... };
}
Expand description

Defines a new struct-based packet.