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

Method struct_defs

language/move-binary-format/src/binary_views.rs:213–218  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

211 }
212
213 pub fn struct_defs(&self) -> Option<&[StructDefinition]> {
214 match self {
215 BinaryIndexedView::Module(module) => Some(module.struct_defs()),
216 BinaryIndexedView::Script(_) => None,
217 }
218 }
219
220 pub fn struct_def_at(&self, idx: StructDefinitionIndex) -> PartialVMResult<&StructDefinition> {
221 match self {

Callers 15

get_struct_defMethod · 0.45
disassembleMethod · 0.45
newMethod · 0.45
structsMethod · 0.45
newMethod · 0.45
check_struct_defsMethod · 0.45
check_field_handleMethod · 0.45
check_function_defMethod · 0.45
check_codeMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_runnerFunction · 0.36