macro_rules! impl_enum_mode {
    (
        (<-) $Name:ident $Type:ty {
            $($Field:ident, $Value:expr),*
        }
    ) => { ... };
    (
        (->) $Name:ident $Type:ty {
            $($Field:ident, $Value:expr),*
        }
    ) => { ... };
    (
        (<->) $Name:ident $Type:ty {
            $($Field:ident, $Value:expr),*
        }
    ) => { ... };
}
Expand description

Impl Enum 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 generate the specific enum trait implementations for the desired packet mode