(&self)
| 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 { |
no outgoing calls