| // Code generated by "stringer -type=ComponentType"; DO NOT EDIT. |
| |
| package ui |
| |
| import "strconv" |
| |
| func _() { |
| // An "invalid array index" compiler error signifies that the constant values have changed. |
| // Re-run the stringer command to generate them again. |
| var x [1]struct{} |
| _ = x[Recipe-0] |
| _ = x[StepLegacy-1] |
| _ = x[Summary-2] |
| } |
| |
| const _ComponentType_name = "RecipeStepLegacySummary" |
| |
| var _ComponentType_index = [...]uint8{0, 6, 16, 23} |
| |
| func (i ComponentType) String() string { |
| if i < 0 || i >= ComponentType(len(_ComponentType_index)-1) { |
| return "ComponentType(" + strconv.FormatInt(int64(i), 10) + ")" |
| } |
| return _ComponentType_name[_ComponentType_index[i]:_ComponentType_index[i+1]] |
| } |