Struct mdbook::book::bookconfig::BookConfig [] [src]

pub struct BookConfig {
    pub title: String,
    pub author: String,
    pub description: String,
    pub indent_spaces: i32,
    // some fields omitted
}

Fields

title: String author: String description: String indent_spaces: i32

Methods

impl BookConfig
[src]

fn new(root: &Path) -> Self

fn read_config(&mut self, root: &Path) -> &mut Self

fn get_root(&self) -> &Path

fn set_root(&mut self, root: &Path) -> &mut Self

fn get_dest(&self) -> &Path

fn set_dest(&mut self, dest: &Path) -> &mut Self

fn get_src(&self) -> &Path

fn set_src(&mut self, src: &Path) -> &mut Self

Trait Implementations

impl Clone for BookConfig
[src]

fn clone(&self) -> BookConfig

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for BookConfig
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.