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

Method struct_handle_at

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

Source from the content-addressed store, hash-verified

215 }
216
217 fn struct_handle_at(&self, idx: StructHandleIndex) -> &StructHandle {
218 &self.as_script().struct_handles[idx.into_index()]
219 }
220
221 fn function_handle_at(&self, idx: FunctionHandleIndex) -> &FunctionHandle {
222 &self.as_script().function_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