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

Function picker_parent_node_kind

perro_editor/res/scripts/scene/editor_nodes.rs:1234–1245  ·  view source on GitHub ↗
(state: &EditorState)

Source from the content-addressed store, hash-verified

1232 String::new()
1233 } else {
1234 format!(" [{}]", badges.join(" "))
1235 };
1236 format!(
1237 "{} {}{}",
1238 node_type_icon(node_type),
1239 node_type.name(),
1240 badges
1241 )
1242}
1243
1244pub fn exact_node_rank(filter: &NodePickerFilter, node_type: perro_scene::NodeType) -> u8 {
1245 if filter.tags.is_empty()
1246 && filter.text.len() == 1
1247 && node_type
1248 .name()

Callers 3

picker_node_typesFunction · 0.85
picker_node_rowFunction · 0.85
picker_parent_textFunction · 0.85

Calls 6

cached_scene_doc_sharedFunction · 0.85
add_node_parentFunction · 0.85
node_type_kindFunction · 0.85
findMethod · 0.80
is_emptyMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected