[−][src]Trait solana_libra_vm::access::ScriptAccess
Represents accessors for a compiled script.
This is a trait to allow working across different wrappers for CompiledScript
.
Required methods
fn as_script(&self) -> &CompiledScript
Returns the CompiledScript
that will be used for accesses.
Provided methods
fn module_handle_at(&self, idx: ModuleHandleIndex) -> &ModuleHandle
fn struct_handle_at(&self, idx: StructHandleIndex) -> &StructHandle
fn function_handle_at(&self, idx: FunctionHandleIndex) -> &FunctionHandle
fn type_signature_at(&self, idx: TypeSignatureIndex) -> &TypeSignature
fn function_signature_at(
&self,
idx: FunctionSignatureIndex
) -> &FunctionSignature
&self,
idx: FunctionSignatureIndex
) -> &FunctionSignature