Struct mdbook::config::BuildConfig
source · [−]pub struct BuildConfig {
pub build_dir: PathBuf,
pub create_missing: bool,
pub use_default_preprocessors: bool,
}
Expand description
Configuration for the build procedure.
Fields
build_dir: PathBuf
Where to put built artefacts relative to the book’s root directory.
create_missing: bool
Should non-existent markdown files specified in SUMMARY.md
be created
if they don’t exist?
use_default_preprocessors: bool
Should the default preprocessors always be used when they are compatible with the renderer?
Trait Implementations
sourceimpl Clone for BuildConfig
impl Clone for BuildConfig
sourcefn clone(&self) -> BuildConfig
fn clone(&self) -> BuildConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuildConfig
impl Debug for BuildConfig
sourceimpl Default for BuildConfig
impl Default for BuildConfig
sourcefn default() -> BuildConfig
fn default() -> BuildConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BuildConfig where
BuildConfig: Default,
impl<'de> Deserialize<'de> for BuildConfig where
BuildConfig: Default,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<BuildConfig> for BuildConfig
impl PartialEq<BuildConfig> for BuildConfig
sourcefn eq(&self, other: &BuildConfig) -> bool
fn eq(&self, other: &BuildConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BuildConfig) -> bool
fn ne(&self, other: &BuildConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for BuildConfig
impl Serialize for BuildConfig
impl StructuralPartialEq for BuildConfig
Auto Trait Implementations
impl RefUnwindSafe for BuildConfig
impl Send for BuildConfig
impl Sync for BuildConfig
impl Unpin for BuildConfig
impl UnwindSafe for BuildConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more