pub enum Irules {
Show 171 variants
End = 0,
SimpleWord = 1,
LF = 2,
SEMI = 3,
Comment = 4,
When = 5,
EventName = 6,
Priority = 7,
Timing = 8,
On = 9,
Off = 10,
Dict = 11,
For2 = 12,
Update = 13,
With = 14,
Regexp2 = 15,
DASHabout = 16,
DASHexpanded = 17,
DASHindices = 18,
DASHline = 19,
DASHlinestop = 20,
DASHlineanchor = 21,
DASHnocase = 22,
DASHall = 23,
DASHinline = 24,
DASHstart = 25,
DASHDASH = 26,
Switch2 = 27,
DASHexact = 28,
DASHglob = 29,
DASHregexp = 30,
DASHmatchvar = 31,
DASHindexvar = 32,
LBRACE = 33,
RBRACE = 34,
While2 = 35,
Expr2 = 36,
Foreach2 = 37,
Global2 = 38,
Namespace2 = 39,
Try2 = 40,
Trap = 41,
Finally2 = 42,
Unpack = 43,
COLONCOLON = 44,
IdentImm = 45,
LPAREN = 46,
RPAREN = 47,
DOLLAR = 48,
Id = 49,
Set2 = 50,
Proc = 51,
Number = 52,
Boolean = 53,
LPAREN2 = 54,
DASH = 55,
PLUS = 56,
TILDE = 57,
BANG = 58,
Not = 59,
STARSTAR = 60,
SLASH = 61,
STAR = 62,
PERCENT = 63,
LTLT = 64,
GTGT = 65,
GT = 66,
LT = 67,
GTEQ = 68,
LTEQ = 69,
EQEQ = 70,
BANGEQ = 71,
Eq = 72,
Ne = 73,
StartsWith = 74,
EndsWith = 75,
Contains = 76,
Equals = 77,
Matches = 78,
MatchesRegex = 79,
MatchesGlob = 80,
In = 81,
Ni = 82,
AMP = 83,
CARET = 84,
PIPE = 85,
AMPAMP = 86,
And = 87,
PIPEPIPE = 88,
Or = 89,
QMARK = 90,
COLON = 91,
Elseif2 = 92,
Else2 = 93,
If2 = 94,
Catch2 = 95,
DQUOTE = 96,
EscapedCharacter = 97,
QuotedWordContent = 98,
LBRACK = 99,
RBRACK = 100,
Concat = 101,
Immediate = 102,
SourceFile = 103,
WhenEvent = 104,
EventModifier = 105,
DictFor = 106,
DictUpdate = 107,
DictWith = 108,
Regexp = 109,
Switch = 110,
SwitchArm = 111,
For = 112,
While = 113,
ExprCmd = 114,
Foreach = 115,
Global = 116,
Namespace = 117,
Try = 118,
OnHandler = 119,
TrapHandler = 120,
Finally = 121,
Command2 = 122,
Command = 123,
WordList = 124,
WordSimple = 125,
ConcatWord = 126,
NsDelim = 127,
Id2 = 128,
ArrayIndex = 129,
VariableSubstitution = 130,
BracedId = 131,
BracedWord = 132,
BracedWordSimple = 133,
Set = 134,
Procedure = 135,
ArgumentWord = 136,
Argument = 137,
Arguments = 138,
ExprAtomNoBrace = 139,
Expr3 = 140,
Expr = 141,
UnaryExpr = 142,
BinopExpr = 143,
TernaryExpr = 144,
Elseif = 145,
Else = 146,
If = 147,
Conditional = 148,
Catch = 149,
QuotedWord = 150,
CommandSubstitution = 151,
SourceFileRepeat1 = 152,
WhenEventRepeat1 = 153,
DictUpdateRepeat1 = 154,
RegexpRepeat1 = 155,
RegexpRepeat2 = 156,
SwitchRepeat1 = 157,
SwitchRepeat2 = 158,
SwitchRepeat3 = 159,
TryRepeat1 = 160,
WordListRepeat1 = 161,
WordSimpleRepeat1 = 162,
ConcatWordRepeat1 = 163,
IdImmediateRepeat1 = 164,
BracedWordRepeat1 = 165,
BracedWordRepeat2 = 166,
ArgumentsRepeat1 = 167,
IfRepeat1 = 168,
QuotedWordRepeat1 = 169,
Error = 170,
}Variants§
End = 0
SimpleWord = 1
LF = 2
SEMI = 3
Comment = 4
When = 5
EventName = 6
Priority = 7
Timing = 8
On = 9
Off = 10
Dict = 11
For2 = 12
Update = 13
With = 14
Regexp2 = 15
DASHabout = 16
DASHexpanded = 17
DASHindices = 18
DASHline = 19
DASHlinestop = 20
DASHlineanchor = 21
DASHnocase = 22
DASHall = 23
DASHinline = 24
DASHstart = 25
DASHDASH = 26
Switch2 = 27
DASHexact = 28
DASHglob = 29
DASHregexp = 30
DASHmatchvar = 31
DASHindexvar = 32
LBRACE = 33
RBRACE = 34
While2 = 35
Expr2 = 36
Foreach2 = 37
Global2 = 38
Namespace2 = 39
Try2 = 40
Trap = 41
Finally2 = 42
Unpack = 43
COLONCOLON = 44
IdentImm = 45
LPAREN = 46
RPAREN = 47
DOLLAR = 48
Id = 49
Set2 = 50
Proc = 51
Number = 52
Boolean = 53
LPAREN2 = 54
DASH = 55
PLUS = 56
TILDE = 57
BANG = 58
Not = 59
STARSTAR = 60
SLASH = 61
STAR = 62
PERCENT = 63
LTLT = 64
GTGT = 65
GT = 66
LT = 67
GTEQ = 68
LTEQ = 69
EQEQ = 70
BANGEQ = 71
Eq = 72
Ne = 73
StartsWith = 74
EndsWith = 75
Contains = 76
Equals = 77
Matches = 78
MatchesRegex = 79
MatchesGlob = 80
In = 81
Ni = 82
AMP = 83
CARET = 84
PIPE = 85
AMPAMP = 86
And = 87
PIPEPIPE = 88
Or = 89
QMARK = 90
COLON = 91
Elseif2 = 92
Else2 = 93
If2 = 94
Catch2 = 95
DQUOTE = 96
EscapedCharacter = 97
QuotedWordContent = 98
LBRACK = 99
RBRACK = 100
Concat = 101
Immediate = 102
SourceFile = 103
WhenEvent = 104
EventModifier = 105
DictFor = 106
DictUpdate = 107
DictWith = 108
Regexp = 109
Switch = 110
SwitchArm = 111
For = 112
While = 113
ExprCmd = 114
Foreach = 115
Global = 116
Namespace = 117
Try = 118
OnHandler = 119
TrapHandler = 120
Finally = 121
Command2 = 122
Command = 123
WordList = 124
WordSimple = 125
ConcatWord = 126
NsDelim = 127
Id2 = 128
ArrayIndex = 129
VariableSubstitution = 130
BracedId = 131
BracedWord = 132
BracedWordSimple = 133
Set = 134
Procedure = 135
ArgumentWord = 136
Argument = 137
Arguments = 138
ExprAtomNoBrace = 139
Expr3 = 140
Expr = 141
UnaryExpr = 142
BinopExpr = 143
TernaryExpr = 144
Elseif = 145
Else = 146
If = 147
Conditional = 148
Catch = 149
QuotedWord = 150
CommandSubstitution = 151
SourceFileRepeat1 = 152
WhenEventRepeat1 = 153
DictUpdateRepeat1 = 154
RegexpRepeat1 = 155
RegexpRepeat2 = 156
SwitchRepeat1 = 157
SwitchRepeat2 = 158
SwitchRepeat3 = 159
TryRepeat1 = 160
WordListRepeat1 = 161
WordSimpleRepeat1 = 162
ConcatWordRepeat1 = 163
IdImmediateRepeat1 = 164
BracedWordRepeat1 = 165
BracedWordRepeat2 = 166
ArgumentsRepeat1 = 167
IfRepeat1 = 168
QuotedWordRepeat1 = 169
Error = 170
Trait Implementations§
impl Eq for Irules
Source§impl FromPrimitive for Irules
impl FromPrimitive for Irules
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreimpl StructuralPartialEq for Irules
Auto Trait Implementations§
impl Freeze for Irules
impl RefUnwindSafe for Irules
impl Send for Irules
impl Sync for Irules
impl Unpin for Irules
impl UnsafeUnpin for Irules
impl UnwindSafe for Irules
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.