Struct mdbook::preprocess::PreprocessorContext[][src]

pub struct PreprocessorContext {
    pub root: PathBuf,
    pub config: Config,
    pub renderer: String,
    pub mdbook_version: String,
    // some fields omitted
}

Extra information for a Preprocessor to give them more context when processing a book.

Fields

The location of the book directory on disk.

The book configuration (book.toml).

The Renderer this preprocessor is being used with.

The calling mdbook version.

Trait Implementations

impl Debug for PreprocessorContext
[src]

Formats the value using the given formatter. Read more

impl Clone for PreprocessorContext
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PreprocessorContext
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations