rust one hot encode enum code example Example: enum rust enum Color { WHITE, BLACK, } Color::WHITE; Color::BLACK;