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

Method struct_handle_at

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

Source from the content-addressed store, hash-verified

119 }
120
121 pub fn struct_handle_at(&self, idx: StructHandleIndex) -> &StructHandle {
122 match self {
123 BinaryIndexedView::Module(module) => module.struct_handle_at(idx),
124 BinaryIndexedView::Script(script) => script.struct_handle_at(idx),
125 }
126 }
127
128 pub fn function_handle_at(&self, idx: FunctionHandleIndex) -> &FunctionHandle {
129 match self {

Callers 15

build_from_definitionMethod · 0.45
build_from_handle_idxMethod · 0.45
name_for_fieldMethod · 0.45
struct_type_infoMethod · 0.45
disassemble_sig_tokMethod · 0.45
resolve_struct_handleMethod · 0.45
newMethod · 0.45
newMethod · 0.45
abilitiesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected