pub enum Rule {
Show 30 variants
EOI,
ws1,
ws,
wsnl1,
wsnl,
identifier,
indent,
class,
id,
element,
value,
string1,
inner1,
char1,
string2,
inner2,
char2,
attr_name,
attr,
attrs,
anystr,
doctype,
include,
tag,
text,
plaintext,
comment,
decl,
emptyline,
file,
}
Expand description
Variants§
EOI
ws1
ws
wsnl1
wsnl
identifier
indent
class
id
element
value
string1
inner1
char1
string2
inner2
char2
attr_name
attr
attrs
anystr
doctype
include
tag
text
plaintext
comment
decl
emptyline
file
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl PartialEq<Rule> for Rule
impl PartialEq<Rule> for Rule
source§impl PartialOrd<Rule> for Rule
impl PartialOrd<Rule> for Rule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more