pub struct Doctest {
pub package: Package,
pub target: Target,
pub args: Vec<OsString>,
pub unstable_opts: bool,
}Expand description
Structure with enough information to run rustdoc --test.
Fields§
§package: PackageThe package being doc-tested.
target: TargetThe target being tested (currently always the package’s lib).
args: Vec<OsString>Arguments needed to pass to rustdoc to run this test.
unstable_opts: boolWhether or not -Zunstable-options is needed.
Auto Trait Implementations§
impl Freeze for Doctest
impl RefUnwindSafe for Doctest
impl !Send for Doctest
impl !Sync for Doctest
impl Unpin for Doctest
impl UnsafeUnpin for Doctest
impl UnwindSafe for Doctest
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