Struct rustc_builtin_macros::test_harness::TestCtxt
source · 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> !Send for TestCtxt<'a>
impl<'a> !Sync for TestCtxt<'a>
impl<'a> Unpin for TestCtxt<'a>
impl<'a> !UnwindSafe for TestCtxt<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 384 bytes