use derive_enum_rotate::EnumRotate; #[derive(EnumRotate)] struct Struct { field: usize, }