-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintenttype_string.go
More file actions
41 lines (35 loc) · 1.15 KB
/
intenttype_string.go
File metadata and controls
41 lines (35 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Code generated by "stringer -type IntentType"; DO NOT EDIT.
package rx
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[NoIntent-0]
_ = x[Click-1]
_ = x[DoubleClick-2]
_ = x[DragStart-3]
_ = x[DragOver-4]
_ = x[DragEnd-5]
_ = x[Drop-6]
_ = x[EscPress-7]
_ = x[Scroll-8]
_ = x[Filter-9]
_ = x[Change-10]
_ = x[KeyUp-11]
_ = x[Blur-12]
_ = x[ChangeView-13]
_ = x[ManifestChange-14]
_ = x[ShowDebugMenu-15]
_ = x[CellSizeChange-16]
_ = x[Submit-17]
_ = x[Seppuku-18]
}
const _IntentType_name = "NoIntentClickDoubleClickDragStartDragOverDragEndDropEscPressScrollFilterChangeKeyUpBlurChangeViewManifestChangeShowDebugMenuCellSizeChangeSubmitSeppuku"
var _IntentType_index = [...]uint8{0, 8, 13, 24, 33, 41, 48, 52, 60, 66, 72, 78, 83, 87, 97, 111, 124, 138, 144, 151}
func (i IntentType) String() string {
if i < 0 || i >= IntentType(len(_IntentType_index)-1) {
return "IntentType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _IntentType_name[_IntentType_index[i]:_IntentType_index[i+1]]
}