Macro byteflags

Source
macro_rules! byteflags {
    (
        $(#[$outer:meta])*
        $vis:vis struct $ByteFlags:ident {
            $(
                $inner_vis:vis $Flag:ident = $Name:literal,
            )*
        }
    ) => { ... };
}