pub struct DocOptions {
pub open_result: bool,
pub compile_opts: CompileOptions,
}Expand description
Strongly typed options for the cargo doc command.
Fields§
§open_result: boolWhether to attempt to open the browser after compiling the docs
compile_opts: CompileOptionsOptions to pass through to the compiler
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DocOptions
impl !RefUnwindSafe for DocOptions
impl Send for DocOptions
impl !Sync for DocOptions
impl Unpin for DocOptions
impl UnsafeUnpin for DocOptions
impl UnwindSafe for DocOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more