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

Method module_handle_at

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

Source from the content-addressed store, hash-verified

112 }
113
114 pub fn module_handle_at(&self, idx: ModuleHandleIndex) -> &ModuleHandle {
115 match self {
116 BinaryIndexedView::Module(module) => module.module_handle_at(idx),
117 BinaryIndexedView::Script(script) => script.module_handle_at(idx),
118 }
119 }
120
121 pub fn struct_handle_at(&self, idx: StructHandleIndex) -> &StructHandle {
122 match self {

Callers 15

build_from_handle_idxMethod · 0.45
resolve_struct_handleMethod · 0.45
explain_publish_errorFunction · 0.45
module_handleMethod · 0.45
newMethod · 0.45
write_struct_handle_typeFunction · 0.45
make_type_internalMethod · 0.45
check_natives_implMethod · 0.45
newMethod · 0.45
newMethod · 0.45
dummy_from_viewMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected