i_slint_backend_testing

Function mock_elapsed_time

Source
pub fn mock_elapsed_time(duration: Duration)
Expand description

Advance the simulated mock time by the specified duration. Use in combination with init_integration_test_with_mock_time() or init_no_event_loop().