Type Alias bevy_inspector_egui::reflect_inspector::ShortCircuitFnMany
source · pub type ShortCircuitFnMany = fn(_: &mut InspectorUi<'_, '_>, type_id: TypeId, type_name: &str, ui: &mut Ui, id: Id, options: &dyn Any, values: &mut [&mut dyn Reflect], projector: &dyn Fn(&mut dyn Reflect) -> &mut dyn Reflect) -> Option<bool>;
Expand description
Function which will be executed for every field recursively, which can be used to skip regular traversal, _many
variant
This can be used to recognize Handle<T>
types and display them as their actual value instead.
Returning None
means that no short circuiting is required, and Some(changed)
means that the value was short-circuited
and changed if the boolean is true.