Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ node
Method
node
perro_editor/res/scripts/editor/main.rs:88–94 ·
view source on GitHub ↗
(&self, key: u32)
Source
from the content-addressed store, hash-verified
86
.iter()
87
.enumerate()
88
.map(|(idx, node)| (node.key.as_u32(), idx))
89
.collect::<Vec<_>>();
90
node_indices.sort_by_key(|(key, _)| *key);
91
Self {
92
text,
93
doc,
94
node_indices,
95
}
96
}
97
Callers
1
cached_scene_node
Function · 0.45
Calls
2
ok
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected