pub enum Rule {
Show 46 variants
EOI,
character,
whitespace,
link,
image,
link_content,
image_alt,
link_url,
image_url,
link_char,
image_char,
url_char,
bold_formatting,
italic_formatting,
strikethrough_formatting,
underline_formatting,
bold_content,
italic_content,
strikethrough_content,
underline_content,
escape_sequence,
inline_code,
unordered_list_item,
ordered_list_item,
document_unordered_list,
document_ordered_list,
thematic_break,
plain_char,
document_heading,
h1_heading,
h2_heading,
h3_heading,
document_quote,
quote_line,
code_fence,
language_spec,
code_body,
document_paragraph,
paragraph_text,
line_break,
blank_line,
inline_content,
text_formatting,
plain_text,
document_structure,
document_block,
}Variants§
EOI
End-of-input
character
Any single character except newline
whitespace
Whitespace characters (space or tab)
link
image
link_content
image_alt
link_url
image_url
link_char
image_char
url_char
bold_formatting
italic_formatting
strikethrough_formatting
underline_formatting
bold_content
italic_content
strikethrough_content
underline_content
escape_sequence
inline_code
unordered_list_item
ordered_list_item
document_unordered_list
document_ordered_list
thematic_break
plain_char
document_heading
h1_heading
h2_heading
h3_heading
document_quote
quote_line
code_fence
language_spec
code_body
document_paragraph
paragraph_text
line_break
blank_line
inline_content
text_formatting
plain_text
document_structure
document_block
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for MarkdownParser
impl Parser<Rule> for MarkdownParser
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