(data: &SceneNodeData, field: &str)
| 3471 | } |
| 3472 | Some(row) |
| 3473 | } |
| 3474 | |
| 3475 | pub fn scene_row_label( |
| 3476 | _depth: usize, |
| 3477 | name: &str, |
| 3478 | type_name: &str, |
| 3479 | badges: &str, |
| 3480 | children: usize, |
| 3481 | parent: Option<&str>, |
| 3482 | ) -> String { |
| 3483 | let name = editor_view::short_path(name, 20); |
| 3484 | let type_name = editor_view::short_path(type_name, 18); |
| 3485 | if let Some(parent) = parent { |
| 3486 | format!( |
| 3487 | "{name} [{type_name}]{badges} {}", |
| 3488 | editor_view::short_path(parent, 14) |
no test coverage detected