pub enum Rule {
Show 84 variants
WHITESPACE_S,
alt_char,
b_char,
c_char,
c_line_char,
comment_char,
digit,
i_char,
indent,
latex_char,
link_char,
p_char,
s_char,
t_char,
wiki_link_char,
word,
t_word,
alt_word,
bold_italic_word,
bold_word,
code_word,
h_word,
italic_word,
latex_word,
link_data,
link_word,
strikethrough_word,
wiki_link_alone,
wiki_link_data,
wiki_link_word,
task_open,
task_complete,
task_prefix,
quote_prefix,
code_block_prefix,
table_prefix,
list_prefix,
heading_prefix,
forbidden_sentence_prefix,
alt_text,
bold,
bold_italic,
code,
code_line,
latex,
link,
link_line,
normal,
o_list_counter,
programming_language,
strikethrough,
t_normal,
wiki_link,
italic,
sentence,
t_sentence,
table_cell,
table_seperator,
u_list,
o_list,
h1,
h2,
h3,
h4,
h5,
h6,
important,
note,
tip,
warning,
caution,
quote_marking,
heading,
list_container,
paragraph,
code_block,
table,
quote,
task,
block_sep,
horizontal_sep,
image,
comment,
txt,
}Variants§
WHITESPACE_S
alt_char
b_char
c_char
c_line_char
comment_char
digit
i_char
indent
latex_char
link_char
p_char
s_char
t_char
wiki_link_char
word
t_word
alt_word
bold_italic_word
bold_word
code_word
h_word
italic_word
latex_word
link_data
link_word
strikethrough_word
wiki_link_alone
wiki_link_data
wiki_link_word
task_open
task_complete
task_prefix
quote_prefix
code_block_prefix
table_prefix
list_prefix
heading_prefix
forbidden_sentence_prefix
alt_text
bold
bold_italic
code
code_line
latex
link
link_line
normal
o_list_counter
programming_language
strikethrough
t_normal
wiki_link
italic
sentence
t_sentence
table_cell
table_seperator
u_list
o_list
h1
h2
h3
h4
h5
h6
important
note
tip
warning
caution
quote_marking
heading
list_container
paragraph
code_block
table
quote
task
block_sep
horizontal_sep
image
comment
txt
Implementations§
Trait Implementations§
source§impl From<Rule> for MdParseEnum
impl From<Rule> for MdParseEnum
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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§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.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more