MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / new_index

Method new_index

src/id.rs:49–51  ·  view source on GitHub ↗
(label: &'static str, index: u32)

Source from the content-addressed store, hash-verified

47 /// Creates a ply id using the `label` and the `index`
48 #[inline]
49 pub fn new_index(label: &'static str, index: u32) -> Id {
50 engine::hash_string_with_offset(label, index, 0)
51 }
52
53 #[inline]
54 pub fn new_index_seed(label: &'static str, index: u32, seed: u32) -> Id {

Callers

nothing calls this directly

Calls 1

hash_string_with_offsetFunction · 0.85

Tested by

no test coverage detected