Function section

Source
fn section(
    ui: &mut Ui,
    state: &mut PresetsState,
    templates: bool,
    title: &str,
    rows: &[(usize, String)],
    act: &mut Option<Act>,
    resp: &mut PresetsResponse,
)
Expand description

One titled list. templates picks both the backing Vec and what a click means (place vs apply).