Struct mdbook::book::bookconfig::BookConfig
[−]
[src]
pub struct BookConfig { pub title: String, pub author: String, pub description: String, pub dest: PathBuf, pub src: PathBuf, pub indent_spaces: i32, // some fields omitted }
Fields
title: String
description: String
dest: PathBuf
src: PathBuf
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