/// Start/stop engine button view
Start/stop engine button view
Start / stop engine button view
fn start_stop_view(start_stop_button_state: &mut StartStopViewModel) -> Element<Message> {
    Button::new(
        &mut start_stop_button_state.button_state,
        if start_stop_button_state.is_started {
            Text::new("Stop audio engine")
        } else {
            Text::new("Start audio engine")
        },
    )
    .on_press(Message::StartStopButtonClicked)
    .style(audio_processor_iced_design_system::style::Button)
    .into()
}
fn start_stop_view ( start_stop_button_state : & mut StartStopViewModel ) -> Element < Message > { Button :: new ( & mut start_stop_button_state . button_state , if start_stop_button_state . is_started { Text :: new ( " " ) } else { Text :: new ( " " ) } , ) . on_press ( Message :: StartStopButtonClicked ) . style ( audio_processor_iced_design_system :: style :: Button ) . into ( ) }
Start/stop engine button view
Start / stop engine button view
start_stop_button_state
&mut StartStopViewModel