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

Method reserve

perro_source/api_modules/perro_resource_api/src/sub_apis/mesh.rs:99–104  ·  view source on GitHub ↗
(&self, arg: A)

Source from the content-addressed store, hash-verified

97 pub fn load_hashed_with_source<S: ResPathSource>(&self, source_hash: u64, source: S) -> MeshID {
98 self.api
99 .load_mesh_hashed(source_hash, Some(source.as_res_path_str()))
100 }
101
102 #[inline]
103 pub fn reserve<A>(&self, arg: A) -> A::Output
104 where
105 A: MeshReserveArg<R>,
106 {
107 arg.reserve_with(self.api)

Callers 1

primary_lookupMethod · 0.45

Calls 1

reserve_withMethod · 0.45

Tested by

no test coverage detected