Struct rustc_builtin_macros::test_harness::TestCtxt [−][src]
struct TestCtxt<'a> {
ext_cx: ExtCtxt<'a>,
panic_strategy: PanicStrategy,
def_site: Span,
test_cases: Vec<Test>,
reexport_test_harness_main: Option<Symbol>,
test_runner: Option<Path>,
}
Fields
ext_cx: ExtCtxt<'a>
panic_strategy: PanicStrategy
def_site: Span
test_cases: Vec<Test>
reexport_test_harness_main: Option<Symbol>
test_runner: Option<Path>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TestCtxt<'a>
impl<'a> !UnwindSafe for TestCtxt<'a>
Blanket Implementations
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: 336 bytes