#egui inspect wrong type in trait method?

9 messages · Page 1 of 1 (latest)

dull dove
#

I am struggling to get my head around this one, its declared as egui::Ui in source and my code action fills it in as such, but it complains about incompatible type, and if I change it to what it suggest I get that egui::ui is private... any ideas?

gilded tiger
#

You might have multiple incompatible versions of egui in your dependencies?
It looks like the latest version of egui_inspect is old and depends on [email protected], and you are probably using [email protected]
What does cargo tree -d show?

gilded tiger
dull dove
#

yeah, it does appear so, heres the beginning of it

ahash v0.7.6
├── egui v0.16.1
│   └── egui_inspect v0.1.3
│       └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
└── epaint v0.16.0
    └── egui v0.16.1 (*)

ahash v0.8.3
├── egui v0.23.0
│   ├── eframe v0.23.0
│   │   └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
│   ├── egui-winit v0.23.0
│   │   └── eframe v0.23.0 (*)
│   ├── egui_glow v0.23.0
│   │   └── eframe v0.23.0 (*)
│   ├── egui_plot v0.23.0
│   │   └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
│   └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
└── epaint v0.23.0
    └── egui v0.23.0 (*)

egui v0.16.1 (*)

egui v0.23.0 (*)

the toml for their example is using 0.20 though? I am on 0.23 right now but have gone back and forth

#

trying to make it work

gilded tiger
dull dove
#

ahh, I'll try git version then

#

I thought it got updated

gilded tiger