MCPcopy Create free account
hub / github.com/PerroEngine/Perro / node_hierarchy_text

Function node_hierarchy_text

perro_editor/res/scripts/ui/editor_ui.rs:2307–2319  ·  view source on GitHub ↗
(node_type: perro_scene::NodeType)

Source from the content-addressed store, hash-verified

2305 return String::new();
2306 };
2307 format!(
2308 "{}{}",
2309 first.to_uppercase().collect::<String>(),
2310 chars.as_str()
2311 )
2312 })
2313 .collect::<Vec<_>>()
2314 .join(" ")
2315}
2316
2317fn inspector_row_parent_indices(rows: &[InspectorValueRow]) -> Vec<Option<usize>> {
2318 let mut stack: Vec<usize> = Vec::new();
2319 let mut out = Vec::with_capacity(rows.len());
2320 for (idx, row) in rows.iter().enumerate() {
2321 while stack
2322 .last()

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected