pub struct TestTurn<G> { /* private fields */ }Expand description
A test’s GPU turn: the suite’s serializing guard plus a Checkpoint named after the test,
which reports or fails before the guard is released.
Implementations§
Source§impl<G> TestTurn<G>
impl<G> TestTurn<G>
Sourcepub fn new(guard: G) -> Self
pub fn new(guard: G) -> Self
A turn holding guard, with environment settings and the current thread’s test name.
§Panics
As Checkpoint::begin, and on a mode ALPHA2_VALIDATION_LOG does not name.
Sourcepub fn with_settings(guard: G, settings: TurnSettings) -> Self
pub fn with_settings(guard: G, settings: TurnSettings) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<G> Freeze for TestTurn<G>where
G: Freeze,
impl<G> RefUnwindSafe for TestTurn<G>where
G: RefUnwindSafe,
impl<G> Send for TestTurn<G>where
G: Send,
impl<G> Sync for TestTurn<G>where
G: Sync,
impl<G> Unpin for TestTurn<G>where
G: Unpin,
impl<G> UnsafeUnpin for TestTurn<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for TestTurn<G>where
G: UnwindSafe,
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