[][src]Struct struckdown::parser::ParserOptions

pub struct ParserOptions {
    pub enable_frontmatter: bool,
    pub enable_directives: bool,
    pub enable_roles: bool,
    pub enable_tables: bool,
    pub enable_strikethrough: bool,
    pub enable_tasklists: bool,
    pub enable_footnotes: bool,
    pub enable_anchors: bool,
}

Configures the parser.

By default all features are enabled.

Fields

enable_frontmatter: bool

Enables or disables front matter.

enable_directives: bool

Enables or disables directives.

enable_roles: bool

Enables or disables roles.

enable_tables: bool

Enables or disables tables.

enable_strikethrough: bool

Enables or disables strikethrough.

enable_tasklists: bool

Enables or disables task lists.

enable_footnotes: bool

Enables or disables footnotes.

enable_anchors: bool

Enables or disables explicit anchors.

Trait Implementations

impl Clone for ParserOptions[src]

impl Debug for ParserOptions[src]

impl Default for ParserOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,