1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use enum_rotate::EnumRotate; mod utils; #[derive(EnumRotate, Debug)] enum Void {} test_iter_iter_from! { Void; []; } #[derive(EnumRotate)] #[iteration_order()] enum Void2 {}