pub fn boundary_reporting<R>(
ui: &mut Ui,
id: impl Hash + Debug,
name: &str,
add: impl FnOnce(&mut Ui) -> R,
failed: impl FnOnce(&Fault),
) -> Option<R>Expand description
Draws add as boundary does, and hands a panic it catches to
failed, once per failure: for the caller to say what failed in its
own words (a panel’s id, its owner) and to publish it.