Jakob Hellermann
Jakob Hellermann
> however getting an Iterator of EntityMut is going to be highly unsound without LendingIterator to ensure only one EntityMut is valid at any given time. This is just because...
> In theory nothing prevents us from having two EntityMuts that refer to different entities that are alive at the same time? Correction: only if we remove `EntityRef::world` and `EntityMut::into_world_mut/world_scope/world_mut/world`.
I think this is solved with `cfg_attr`.
`InspectorQuery` doesn't exist anymore, so fixed. but it is now easy to do it yourself: ```rust let mut query = world.query_filtered::(); for entity in query.iter(world) { bevy_inspector_egui::bevy_inspector::ui_for_entity[_with_children](world, entity, ui); }...
I'm gonna close this. We guess based on some heuristics, and if people want to suggest other heuristics they can open a new issue.
Should be fixed now, I rewrote the readme with the latest release
I just released 0.16 which lets you display numbers as a slider: https://github.com/jakobhellermann/bevy-inspector-egui/blob/863191c2fa7898dd451f64b09e77012b7778a26f/crates/bevy-inspector-egui/examples/basic/inspector_options.rs#L9
The graph has been redesigned a lot, and now looks a lot more readable:  I'm gonna close this issue, but if you have any more feedback feel free...
The crate now exposes functions like `ui_for_world` so you can easily display it in whatever window you want: https://github.com/jakobhellermann/bevy-inspector-egui/blob/863191c2fa7898dd451f64b09e77012b7778a26f/crates/bevy-inspector-egui/src/quick.rs#L51-L77
Implemented in 0.16: - https://docs.rs/bevy-inspector-egui/latest/bevy_inspector_egui/reflect_inspector/struct.InspectorUi.html#method.ui_for_reflect_readonly - https://docs.rs/bevy-inspector-egui/latest/bevy_inspector_egui/reflect_inspector/fn.ui_for_value_readonly.html ```rust let env = InspectorUi::for_bevy(); // able to display Handles env.ui_for_reflect_readonly(value, ui, type_registry); // or bevy_inspector_egui::reflect_inspector::ui_for_value_readonly(value, ui, type_registry) // without Handle support