pub struct DocOptions<'a> {
pub open_result: bool,
pub compile_opts: CompileOptions<'a>,
}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: CompileOptions<'a>Options to pass through to the compiler
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for DocOptions<'a>
impl<'a> !RefUnwindSafe for DocOptions<'a>
impl<'a> !Send for DocOptions<'a>
impl<'a> !Sync for DocOptions<'a>
impl<'a> !UnwindSafe for DocOptions<'a>
impl<'a> Unpin for DocOptions<'a>
impl<'a> UnsafeUnpin for DocOptions<'a>
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