macro_rules! __internal__offset_of_enum__ {
($type:tt :: $variant:ident [ $( $field:ident ),* ] => $used_field:ident => $discriminant:literal) => { ... };
($type:tt :: $variant:ident ( $index:tt ) => $discriminant:literal) => { ... };
($type:tt :: $variant:ident { $field:ident } => $discriminant:literal) => { ... };
}
Expand description
Assumes repr(u8)
enums only.