pub struct EmphasisParser { /* private fields */ }Expand description
Service for parsing emphasis from Markdown documents
Implementations§
Source§impl EmphasisParser
impl EmphasisParser
pub fn new() -> Self
pub fn with_config(config: EmphasisParserConfig) -> Self
Sourcepub fn parse(&self, doc_id: Uuid, content: &str) -> EmphasisParseResult
pub fn parse(&self, doc_id: Uuid, content: &str) -> EmphasisParseResult
Parse a Markdown document and extract all emphasis nodes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmphasisParser
impl RefUnwindSafe for EmphasisParser
impl Send for EmphasisParser
impl Sync for EmphasisParser
impl Unpin for EmphasisParser
impl UnwindSafe for EmphasisParser
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