Egui Uppdate and simulator state to keep track of component condition #298
Annotations
9 errors and 1 warning
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/gui.rs#L73
error[E0609]: no field `running` on type `common::Simulator`
--> src/gui_vizia/gui.rs:73:32
|
73 | self.simulator.running = true;
| ^^^^^^^ unknown field
|
= note: available fields are: `cycle`, `id_start_index`, `ordered_components`, `sim_state`, `id_nr_outputs` ... and 10 others
|
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/gui.rs#L77
error[E0609]: no field `running` on type `common::Simulator`
--> src/gui_vizia/gui.rs:77:32
|
77 | self.simulator.running = false;
| ^^^^^^^ unknown field
|
= note: available fields are: `cycle`, `id_start_index`, `ordered_components`, `sim_state`, `id_nr_outputs` ... and 10 others
|
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/gui.rs#L80
error[E0609]: no field `running` on type `common::Simulator`
--> src/gui_vizia/gui.rs:80:32
|
80 | self.simulator.running = !self.simulator.running;
| ^^^^^^^ unknown field
|
= note: available fields are: `cycle`, `id_start_index`, `ordered_components`, `sim_state`, `id_nr_outputs` ... and 10 others
|
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/gui.rs#L80
error[E0609]: no field `running` on type `common::Simulator`
--> src/gui_vizia/gui.rs:80:58
|
80 | self.simulator.running = !self.simulator.running;
| ^^^^^^^ unknown field
|
= note: available fields are: `cycle`, `id_start_index`, `ordered_components`, `sim_state`, `id_nr_outputs` ... and 10 others
|
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/gui.rs#L81
error[E0609]: no field `running` on type `common::Simulator`
--> src/gui_vizia/gui.rs:81:35
|
81 | if self.simulator.running {
| ^^^^^^^ unknown field
|
= note: available fields are: `cycle`, `id_start_index`, `ordered_components`, `sim_state`, `id_nr_outputs` ... and 10 others
|
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/gui.rs#L157
error[E0609]: no field `running` on type `vizia::binding::LensValue<'_, common::Simulator>`
--> src/gui_vizia/gui.rs:157:26
|
157 | if simulator.running {
| ^^^^^^^ unknown field
|
= note: available fields are: `cycle`, `id_start_index`, `ordered_components`, `sim_state`, `id_nr_outputs` ... and 10 others
|
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/transport.rs#L81
error[E0599]: no function or associated item named `running` found for struct `common::Simulator` in the current scope
--> src/gui_vizia/transport.rs:81:64
|
81 | ... GuiData::simulator.then(Simulator::running).map(|running| {
| ^^^^^^^ function or associated item not found in `Simulator`
|
::: src/common.rs:43:1
|
43 | pub struct Simulator {
| -------------------- function or associated item `running` not found for this struct
|
help: there is a method `is_running` with a similar name
--> src/simulator.rs:473:5
|
473 | pub fn is_running(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
src/gui_vizia/transport.rs#L110
error[E0599]: no function or associated item named `running` found for struct `common::Simulator` in the current scope
--> src/gui_vizia/transport.rs:110:64
|
110 | ... GuiData::simulator.then(Simulator::running).map(|running| {
| ^^^^^^^ function or associated item not found in `Simulator`
|
::: src/common.rs:43:1
|
43 | pub struct Simulator {
| -------------------- function or associated item `running` not found for this struct
|
help: there is a method `is_running` with a similar name
--> src/simulator.rs:473:5
|
473 | pub fn is_running(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3
Clippy has exited with exit code 101
|
Run clechasseur/rs-clippy-check@v3
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
|
Loading