IModeDetector
trait · ferroui-splat · v0.5.0
trait IModeDetector
Detects whether the code runs under a unit test runner (IModeDetector).
Members
in_unit_test_runner
fn in_unit_test_runner(self: &Self) -> Option<bool>
Some(true) under a unit test runner, Some(false) outside one, None when it cannot
tell (InUnitTestRunner).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.