MCPcopy Create free account
hub / github.com/diem/move / module_handle_at

Method module_handle_at

language/move-binary-format/src/access.rs:213–215  ·  view source on GitHub ↗
(&self, idx: ModuleHandleIndex)

Source from the content-addressed store, hash-verified

211 fn as_script(&self) -> &CompiledScript;
212
213 fn module_handle_at(&self, idx: ModuleHandleIndex) -> &ModuleHandle {
214 &self.as_script().module_handles[idx.into_index()]
215 }
216
217 fn struct_handle_at(&self, idx: StructHandleIndex) -> &StructHandle {
218 &self.as_script().struct_handles[idx.into_index()]

Callers

nothing calls this directly

Implementers 1

access.rslanguage/move-binary-format/src/access

Calls 1

as_scriptMethod · 0.80

Tested by

no test coverage detected