pub struct ParserOptions {
pub gfm: bool,
pub footnotes: bool,
pub task_lists: bool,
pub tables: bool,
pub strikethrough: bool,
pub autolinks: bool,
pub max_nesting_depth: usize,
}Expand description
Parser options.
Fields§
§gfm: boolEnable GFM (GitHub Flavored Markdown) extensions.
footnotes: boolEnable footnotes.
task_lists: boolEnable task lists.
tables: boolEnable tables.
strikethrough: boolEnable strikethrough.
autolinks: boolEnable autolinks.
max_nesting_depth: usizeMaximum nesting depth for block elements.
Implementations§
Source§impl ParserOptions
impl ParserOptions
Trait Implementations§
Source§impl Clone for ParserOptions
impl Clone for ParserOptions
Source§fn clone(&self) -> ParserOptions
fn clone(&self) -> ParserOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParserOptions
impl Debug for ParserOptions
Source§impl Default for ParserOptions
impl Default for ParserOptions
Source§fn default() -> ParserOptions
fn default() -> ParserOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserOptions
impl RefUnwindSafe for ParserOptions
impl Send for ParserOptions
impl Sync for ParserOptions
impl Unpin for ParserOptions
impl UnsafeUnpin for ParserOptions
impl UnwindSafe for ParserOptions
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