Struct cargo::ops::DocOptions
source · [−]pub struct DocOptions {
pub open_result: bool,
pub compile_opts: CompileOptions,
}
Expand description
Strongly typed options for the cargo doc
command.
Fields
open_result: bool
Whether to attempt to open the browser after compiling the docs
compile_opts: CompileOptions
Options to pass through to the compiler
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DocOptions
impl Send for DocOptions
impl !Sync for DocOptions
impl Unpin for DocOptions
impl UnwindSafe for DocOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more