pub enum Rule {
Show 32 variants
EOI,
document,
element,
content,
block_element,
void_element,
indent,
code_comment_symbol,
html_comment_symbol,
symbol,
comment_text,
code_comment,
html_comment,
comment,
encoding,
xml_doctype,
xhtml_doctype,
html_doctype,
doctype_tag,
doctype_value,
doctype,
char,
ident,
link_attr_key,
link_attr_value,
global_attribute,
link_attribute,
html,
head,
link,
body,
blank_line,
}Variants§
EOI
End-of-input
document
element
content
block_element
void_element
indent
code_comment_symbol
html_comment_symbol
symbol
comment_text
code_comment
html_comment
comment
encoding
xml_doctype
xhtml_doctype
html_doctype
doctype_tag
doctype_value
doctype
char
ident
link_attr_key
link_attr_value
global_attribute
link_attribute
html
head
link
body
blank_line
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for LitheParser
impl Parser<Rule> for LitheParser
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