pub type ShortCircuitFn = fn(_: &mut InspectorUi<'_, '_>, value: &mut dyn Reflect, ui: &mut Ui, id: Id, options: &dyn Any) -> Option<bool>;
Expand description

Function which will be executed for every field recursively, which can be used to skip regular traversal. 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.