pub struct InlineParser { /* private fields */ }Expand description
Inline parser state.
Implementations§
Source§impl InlineParser
impl InlineParser
Sourcepub fn parse(
&mut self,
text: &[u8],
link_refs: Option<&LinkRefStore>,
allow_html: bool,
events: &mut Vec<InlineEvent>,
)
pub fn parse( &mut self, text: &[u8], link_refs: Option<&LinkRefStore>, allow_html: bool, events: &mut Vec<InlineEvent>, )
Parse inline content and emit events.
Sourcepub fn parse_with_options(
&mut self,
text: &[u8],
link_refs: Option<&LinkRefStore>,
allow_html: bool,
strikethrough: bool,
autolink_literals: bool,
math: bool,
footnote_store: Option<&FootnoteStore>,
events: &mut Vec<InlineEvent>,
)
pub fn parse_with_options( &mut self, text: &[u8], link_refs: Option<&LinkRefStore>, allow_html: bool, strikethrough: bool, autolink_literals: bool, math: bool, footnote_store: Option<&FootnoteStore>, events: &mut Vec<InlineEvent>, )
Parse inline content with full GFM options.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InlineParser
impl RefUnwindSafe for InlineParser
impl Send for InlineParser
impl Sync for InlineParser
impl Unpin for InlineParser
impl UnwindSafe for InlineParser
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