pub struct Configuration {
    pub line_width: u32,
    pub new_line_kind: NewLineKind,
    pub text_wrap: TextWrap,
    pub emphasis_kind: EmphasisKind,
    pub strong_kind: StrongKind,
    pub ignore_directive: String,
    pub ignore_file_directive: String,
    pub ignore_start_directive: String,
    pub ignore_end_directive: String,
}
Expand description

Resolved markdown configuration.

Fields

line_width: u32new_line_kind: NewLineKindtext_wrap: TextWrapemphasis_kind: EmphasisKindstrong_kind: StrongKindignore_directive: Stringignore_file_directive: Stringignore_start_directive: Stringignore_end_directive: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.