FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IModeDetector

    trait · ferroui-splat · v0.5.0

    trait IModeDetector
    

    Detects whether the code runs under a unit test runner (IModeDetector).

    View source

    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).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.