pub enum Rule {
Show 46 variants
EOI,
WHITESPACE,
ANY_SPACE,
SHORTCODE_SIGIL,
command_disallow,
BASE_CHARS,
string,
md_val,
string_v,
markdown_string,
basic_val,
ident,
key,
flag,
flag_def,
value,
param,
parameters,
body,
body_inner,
body_def_tagged,
body_def_untagged,
body_def,
label_def,
label,
command_name,
command,
math_block,
math_body,
math_lvl,
math_chars,
math_block_curly,
math,
verbatim_def,
code_param,
code_def,
code_params,
code_lvl,
code,
verbatim,
src,
element,
meta,
meta_def,
doc,
top,
}
Variants§
EOI
End-of-input
WHITESPACE
ANY_SPACE
SHORTCODE_SIGIL
command_disallow
BASE_CHARS
string
md_val
string_v
markdown_string
basic_val
ident
key
flag
flag_def
value
param
parameters
body
body_inner
body_def_tagged
body_def_untagged
body_def
label_def
label
command_name
command
math_block
math_body
math_lvl
math_chars
math_block_curly
math
verbatim_def
code_param
code_def
code_params
code_lvl
code
verbatim
src
element
meta
meta_def
doc
top
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for RawDocParser
impl Parser<Rule> for RawDocParser
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.