struct CreateRunnableDocTests {
standalone_tests: Vec<TestDescAndFn>,
mergeable_tests: FxIndexMap<MergeableTestKey, Vec<(DocTestBuilder, ScrapedDocTest)>>,
rustdoc_options: Arc<Options>,
opts: GlobalTestOptions,
visited_tests: FxHashMap<(String, usize), usize>,
unused_extern_reports: Arc<Mutex<Vec<UnusedExterns>>>,
compiling_test_count: AtomicUsize,
can_merge_doctests: MergeDoctests,
}Fields§
§standalone_tests: Vec<TestDescAndFn>§mergeable_tests: FxIndexMap<MergeableTestKey, Vec<(DocTestBuilder, ScrapedDocTest)>>§rustdoc_options: Arc<Options>§opts: GlobalTestOptions§visited_tests: FxHashMap<(String, usize), usize>§unused_extern_reports: Arc<Mutex<Vec<UnusedExterns>>>§compiling_test_count: AtomicUsize§can_merge_doctests: MergeDoctestsImplementations§
Source§impl CreateRunnableDocTests
impl CreateRunnableDocTests
fn new( rustdoc_options: RustdocOptions, opts: GlobalTestOptions, ) -> CreateRunnableDocTests
fn add_test( &mut self, scraped_test: ScrapedDocTest, dcx: Option<DiagCtxtHandle<'_>>, )
fn generate_test_desc_and_fn( &mut self, test: DocTestBuilder, scraped_test: ScrapedDocTest, ) -> TestDescAndFn
Auto Trait Implementations§
impl !DynSend for CreateRunnableDocTests
impl !DynSync for CreateRunnableDocTests
impl !Freeze for CreateRunnableDocTests
impl !RefUnwindSafe for CreateRunnableDocTests
impl !UnwindSafe for CreateRunnableDocTests
impl Forget for CreateRunnableDocTests
impl Move for CreateRunnableDocTests
impl Send for CreateRunnableDocTestswhere
RawVecInner: Send,
&'static str: Send,
String: Send,
Arc<dyn Fn() -> Result<(), String> + Sync + Send>: Send,
Arc<dyn Fn(&mut Bencher) -> Result<(), String> + Sync + Send>: Send,
RawTable<usize>: Send,
InternalBitFlags: Send,
Arc<Options>: Send,
RawTable<((String, usize), usize)>: Send,
Arc<Mutex<Vec<UnusedExterns>>>: Send,
Atomic<usize>: Send,
impl Sync for CreateRunnableDocTestswhere
RawVecInner: Sync,
String: Sync,
Arc<dyn Fn() -> Result<(), String> + Sync + Send>: Sync,
Arc<dyn Fn(&mut Bencher) -> Result<(), String> + Sync + Send>: Sync,
RawTable<usize>: Sync,
InternalBitFlags: Sync,
Arc<Options>: Sync,
RawTable<((String, usize), usize)>: Sync,
Arc<Mutex<Vec<UnusedExterns>>>: Sync,
Atomic<usize>: Sync,
impl Unpin for CreateRunnableDocTestswhere
*const u8 is !null: Unpin,
&'static str: Unpin,
String: Unpin,
Arc<dyn Fn() -> Result<(), String> + Sync + Send>: Unpin,
Arc<dyn Fn(&mut Bencher) -> Result<(), String> + Sync + Send>: Unpin,
InternalBitFlags: Unpin,
Arc<Options>: Unpin,
Arc<Mutex<Vec<UnusedExterns>>>: Unpin,
Align8<usize>: Unpin,
impl UnsafeUnpin for CreateRunnableDocTestswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<TestDescAndFn>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<MergeableTestKey, Vec<(DocTestBuilder, ScrapedDocTest)>>>: UnsafeUnpin,
*const ArcInner<Options> is !null: UnsafeUnpin,
PhantomData<ArcInner<Options>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<((String, usize), usize)>: UnsafeUnpin,
*const ArcInner<Mutex<Vec<UnusedExterns>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Vec<UnusedExterns>>>>: UnsafeUnpin,
Align8<usize>: UnsafeUnpin,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 200 bytes