macro_rules! impl_struct_mode {
    (
        (<-) $Name:ident {
            $($Field:ident, $FieldType:ty),*
        }
    ) => { ... };
    (
        (->) $Name:ident {
            $($Field:ident, $FieldType:ty),*
        }
    ) => { ... };
    (
       (<->) $Name:ident {
           $($Field:ident, $FieldType:ty),*
       }
   ) => { ... };
}
Expand description

Impl Struct Mode Macro

This is the underlying backing macro which is used by the impl_packet_data macro which is used by the packet_data macro to generic the specific struct trait implementations for the desired packet mode