pub enum Rule {
Show 48 variants
EOI,
Context,
Slug,
Petname,
Protocol,
HyperLink,
BridgeCharacter,
Bridge,
SlugSpecialCharacter,
Whitespace,
Indentation,
Terminator,
IgnoredUnicode,
Contiguous,
MentionBoundary,
SlashLinkBoundary,
HashTagBoundary,
InlineCodeBoundary,
WikiLinkOpenBoundary,
WikiLinkCloseBoundary,
ListItemBoundary,
QuoteBoundary,
CodeBoundary,
LeadingInlineBoundary,
TextCharacter,
Span,
NonTextSpan,
BlockContent,
Block,
Mention,
SlashLink,
HashTag,
Text,
Empty,
InlineCode,
InlineCodeValue,
WikiLink,
WikiLinkValue,
Paragraph,
Code,
CodeValue,
List,
NestedList,
ListIndentation,
ListItem,
ListItemContent,
Quote,
QuoteLine,
}
Variants§
EOI
End-of-input
Context
Slug
Petname
Protocol
HyperLink
BridgeCharacter
Bridge
SlugSpecialCharacter
Whitespace
Indentation
Terminator
IgnoredUnicode
Contiguous
MentionBoundary
SlashLinkBoundary
HashTagBoundary
InlineCodeBoundary
WikiLinkOpenBoundary
WikiLinkCloseBoundary
ListItemBoundary
QuoteBoundary
CodeBoundary
LeadingInlineBoundary
TextCharacter
Span
NonTextSpan
BlockContent
Block
Mention
SlashLink
HashTag
Text
Empty
InlineCode
InlineCodeValue
WikiLink
WikiLinkValue
Paragraph
Code
CodeValue
List
NestedList
ListIndentation
ListItem
ListItemContent
Quote
QuoteLine
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for ContextParser
impl Parser<Rule> for ContextParser
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