Skip to main content

boundary

Function boundary 

Source
pub fn boundary<R>(
    ui: &mut Ui,
    id: impl Hash + Debug,
    name: &str,
    add: impl FnOnce(&mut Ui) -> R,
) -> Option<R>
Expand description

Draws add inside a boundary named name. Returns None while the boundary shows its error card.