enum impl in rust code example Example: enum rust enum Color { WHITE, BLACK, } Color::WHITE; Color::BLACK;