pub(crate) const fn unpack(delta: u8) -> (State, Action)
Expand description
Unpack a u8 into a State and Action
The implementation of this assumes that there are precisely 16 variants for both Action and State. Furthermore, it assumes that the enums are tag-only; that is, there is no data in any variant.
Bad things will happen if those invariants are violated.