Type Definition Variant
rustenginelib::state
type Variant = usize;
Variant type records the index of the variant