pub fn build_structure_tree<F>( ui: &mut Ui, structures: &[(String, String, bool)], on_toggle: F, )where F: FnMut(&str, &str, bool),
Builds the structure tree section.