Struct cargo::core::compiler::Doctest[][src]

pub struct Doctest {
    pub package: Package,
    pub target: Target,
    pub deps: Vec<(InternedString, PathBuf)>,
}

Fields

package: Package

The package being doc-tested.

target: Target

The target being tested (currently always the package’s lib).

deps: Vec<(InternedString, PathBuf)>

Extern dependencies needed by rustdoc. The path is the location of the compiled lib.

Auto Trait Implementations

impl !RefUnwindSafe for Doctest

impl !Send for Doctest

impl !Sync for Doctest

impl Unpin for Doctest

impl !UnwindSafe for Doctest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]