pub fn boundary<R>( ui: &mut Ui, id: impl Hash + Debug, name: &str, add: impl FnOnce(&mut Ui) -> R, ) -> Option<R>
Draws add inside a boundary named name. Returns None while the boundary shows its error card.
add
name
None