#[repr(u8)]pub enum Rule {
Show 118 variants
Empty = 0,
LineComment = 1,
CommentStart = 2,
CommentEnd = 3,
CommentChar = 4,
ExprSpace = 5,
ExprNewLine = 6,
CommentNewLine = 7,
CommentAnyChar = 8,
LeftParen = 9,
RightParen = 10,
LeftBrack = 11,
RightBrack = 12,
Comma = 13,
Pipe = 14,
RightBrace = 15,
Func = 16,
Var = 17,
Atom = 18,
Date = 19,
DateEpoch = 20,
Date1 = 21,
Date2 = 22,
Date3 = 23,
TimeRightBrace = 24,
Time1 = 25,
Time2 = 26,
Time3 = 27,
Time4 = 28,
Time5 = 29,
Time6 = 30,
ZoneRightBrace = 31,
Zone1 = 32,
Zone2 = 33,
Hex = 34,
HexSpace = 35,
HexNewLine = 36,
HexByte = 37,
HexRightBrace = 38,
Bin = 39,
BinSpace = 40,
BinNewLine = 41,
BinCount = 42,
BinCountNLChar = 43,
BinCountAnyChar = 44,
BinRightBrace = 45,
BinLabelStart = 46,
BinLabelEnd = 47,
BinLabelNLChar = 48,
BinLabelAnyChar = 49,
LeftBrace = 50,
ScriptNotBraces = 51,
ScriptLeftBrace = 52,
ScriptRightBrace = 53,
ScriptNewLine = 54,
Text = 55,
TextSpace = 56,
TextNewLine = 57,
TextCount = 58,
TextCountAnyChar = 59,
TextCountNewLine = 60,
TextRightBrace = 61,
TextLabelStart = 62,
TextLabelEnd = 63,
TextLabelNewLine = 64,
TextLabelAnyChar = 65,
HexConst = 66,
BaseConst = 67,
CharHex = 68,
CharOct = 69,
CharNewLine1 = 70,
CharNewLine2 = 71,
CharNotBackslash = 72,
CharCtrl = 73,
CharDel1 = 74,
CharDel2 = 75,
CharEsc = 76,
CharBell = 77,
CharBackspace = 78,
CharFormFeed = 79,
CharNewLine3 = 80,
CharCarriageReturn = 81,
CharTab = 82,
CharVerticalTab = 83,
CharAny = 84,
CharNewLine4 = 85,
OctConst = 86,
DecConst = 87,
FPConst = 88,
DoubleQuote = 89,
SingleQuote = 90,
StrAtomCharHex = 91,
StrAtomCharOct = 92,
StrAtomCharCtrl = 93,
StrAtomCharDel1 = 94,
StrAtomCharDel2 = 95,
StrAtomCharEsc = 96,
StrAtomCharBell = 97,
StrAtomCharBackspace = 98,
StrAtomCharFormFeed = 99,
StrAtomCharNewLine = 100,
StrAtomCharCarriageReturn = 101,
StrAtomCharTab = 102,
StrAtomVerticalTab = 103,
StrAtomCharSkipNewLine = 104,
StrAtomCharAny = 105,
StrAtomCharBackslash = 106,
StrChar = 107,
AtomChar = 108,
StrAtomCarriageReturn = 109,
StrDoubleQuote = 110,
AtomSingleQuote = 111,
AtomLeftParen = 112,
AtomLeftBrace = 113,
StrLeftBrace = 114,
StrAtomNewLine = 115,
Error = 116,
End = 117,
}Variants§
Empty = 0
LineComment = 1
CommentStart = 2
CommentEnd = 3
CommentChar = 4
ExprSpace = 5
ExprNewLine = 6
CommentNewLine = 7
CommentAnyChar = 8
LeftParen = 9
RightParen = 10
LeftBrack = 11
RightBrack = 12
Comma = 13
Pipe = 14
RightBrace = 15
Func = 16
Var = 17
Atom = 18
Date = 19
DateEpoch = 20
Date1 = 21
Date2 = 22
Date3 = 23
TimeRightBrace = 24
Time1 = 25
Time2 = 26
Time3 = 27
Time4 = 28
Time5 = 29
Time6 = 30
ZoneRightBrace = 31
Zone1 = 32
Zone2 = 33
Hex = 34
HexSpace = 35
HexNewLine = 36
HexByte = 37
HexRightBrace = 38
Bin = 39
BinSpace = 40
BinNewLine = 41
BinCount = 42
BinCountNLChar = 43
BinCountAnyChar = 44
BinRightBrace = 45
BinLabelStart = 46
BinLabelEnd = 47
BinLabelNLChar = 48
BinLabelAnyChar = 49
LeftBrace = 50
ScriptNotBraces = 51
ScriptLeftBrace = 52
ScriptRightBrace = 53
ScriptNewLine = 54
Text = 55
TextSpace = 56
TextNewLine = 57
TextCount = 58
TextCountAnyChar = 59
TextCountNewLine = 60
TextRightBrace = 61
TextLabelStart = 62
TextLabelEnd = 63
TextLabelNewLine = 64
TextLabelAnyChar = 65
HexConst = 66
BaseConst = 67
CharHex = 68
CharOct = 69
CharNewLine1 = 70
CharNewLine2 = 71
CharNotBackslash = 72
CharCtrl = 73
CharDel1 = 74
CharDel2 = 75
CharEsc = 76
CharBell = 77
CharBackspace = 78
CharFormFeed = 79
CharNewLine3 = 80
CharCarriageReturn = 81
CharTab = 82
CharVerticalTab = 83
CharAny = 84
CharNewLine4 = 85
OctConst = 86
DecConst = 87
FPConst = 88
DoubleQuote = 89
SingleQuote = 90
StrAtomCharHex = 91
StrAtomCharOct = 92
StrAtomCharCtrl = 93
StrAtomCharDel1 = 94
StrAtomCharDel2 = 95
StrAtomCharEsc = 96
StrAtomCharBell = 97
StrAtomCharBackspace = 98
StrAtomCharFormFeed = 99
StrAtomCharNewLine = 100
StrAtomCharCarriageReturn = 101
StrAtomCharTab = 102
StrAtomVerticalTab = 103
StrAtomCharSkipNewLine = 104
StrAtomCharAny = 105
StrAtomCharBackslash = 106
StrChar = 107
AtomChar = 108
StrAtomCarriageReturn = 109
StrDoubleQuote = 110
AtomSingleQuote = 111
AtomLeftParen = 112
AtomLeftBrace = 113
StrLeftBrace = 114
StrAtomNewLine = 115
Error = 116
End = 117
Trait Implementations§
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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.