Struct mdbook::config::BookConfig [−][src]
pub struct BookConfig { pub title: Option<String>, pub authors: Vec<String>, pub description: Option<String>, pub src: PathBuf, pub multilingual: bool, }
Configuration options which are specific to the book and required for loading it from disk.
Fields
title: Option<String>
The book's title.
The book's authors.
description: Option<String>
An optional description for the book.
src: PathBuf
Location of the book source relative to the book's root directory.
multilingual: bool
Does this book support more than one language?
Trait Implementations
impl Debug for BookConfig
[src]
impl Debug for BookConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BookConfig
[src]
impl Clone for BookConfig
fn clone(&self) -> BookConfig
[src]
fn clone(&self) -> BookConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for BookConfig
[src]
impl PartialEq for BookConfig
fn eq(&self, other: &BookConfig) -> bool
[src]
fn eq(&self, other: &BookConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BookConfig) -> bool
[src]
fn ne(&self, other: &BookConfig) -> bool
This method tests for !=
.
impl Default for BookConfig
[src]
impl Default for BookConfig
fn default() -> BookConfig
[src]
fn default() -> BookConfig
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for BookConfig
impl Send for BookConfig
impl Sync for BookConfig
impl Sync for BookConfig