pub struct BuildOptions { /* private fields */ }
Expand description

Contains all options for crate::build().

See crate for an example on how to use it.

Implementations

Set the toolchain. Default: None, which in practice means "+stable". Until rustdoc JSON has stabilized, you will want to set this to "+nightly" or similar.

Set the relative or absolute path to Cargo.toml. Default: Cargo.toml

Whether or not to pass --quiet to cargo rustdoc. Default: false

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.