Function moras::modules::riscv::middleware::frontend_api::reset

source ·
pub fn reset(
    cur_tab_name: State<'_, CurTabName>,
    tab_map: State<'_, TabMap>,
) -> Optional
Expand description

Resets the state of the currently active tab’s simulator.

  • cur_tab_name: State containing the current tab name.
  • tab_map: State containing the map of all tabs.

Returns Optional indicating whether the reset was successful.