pub struct Test<'module, 'func> { /* private fields */ }
Expand description
Configuraiton for a single unit or integration test.
It has a parent TestModule from which it may inherit configuration.
Implementations§
Source§impl<'module, 'func> Test<'module, 'func>
impl<'module, 'func> Test<'module, 'func>
Sourcepub fn module(&self) -> &'module TestModule
pub fn module(&self) -> &'module TestModule
The parent TestModule of this test.
Trait Implementations§
Auto Trait Implementations§
impl<'module, 'func> Freeze for Test<'module, 'func>
impl<'module, 'func> !RefUnwindSafe for Test<'module, 'func>
impl<'module, 'func> !Send for Test<'module, 'func>
impl<'module, 'func> !Sync for Test<'module, 'func>
impl<'module, 'func> Unpin for Test<'module, 'func>
impl<'module, 'func> !UnwindSafe for Test<'module, 'func>
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