pub enum Rule {
Show 49 variants
EOI,
program,
heads,
statement,
EmptyLine,
import_statement,
extend_statement,
Import,
dict_scope,
dict_head,
dict_pair,
dict_literal,
RestLineText,
Set,
list_scope,
list_head,
list_pair,
list_literal,
InlineString,
Insert,
Append,
data,
Special,
Cite,
Number,
SignedNumber,
Decimal,
DecimalBad,
Integer,
Exponent,
Sign,
String,
StringEmpty,
StringNormal,
NS1,
NS2,
S1,
S2,
namespace,
Key,
SYMBOL,
ExtraID,
Dot,
COMMENT,
WHITESPACE,
LineComment,
MultiLineComment,
SEPARATOR,
DEPRECATED,
}Variants§
EOI
program
heads
statement
EmptyLine
import_statement
extend_statement
Import
dict_scope
dict_head
dict_pair
dict_literal
RestLineText
Set
list_scope
list_head
list_pair
list_literal
InlineString
Insert
Append
data
Special
Cite
Number
SignedNumber
Decimal
DecimalBad
Integer
Exponent
Sign
String
StringEmpty
StringNormal
NS1
NS2
S1
S2
namespace
Key
SYMBOL
ExtraID
Dot
COMMENT
WHITESPACE
LineComment
MultiLineComment
SEPARATOR
DEPRECATED
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
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