Trait diem_api_types::Bytecode[][src]

pub trait Bytecode {
    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 signature_at(&self, idx: SignatureIndex) -> &Signature;
fn identifier_at(&self, idx: IdentifierIndex) -> &IdentStr;
fn address_identifier_at(
        &self,
        idx: AddressIdentifierIndex
    ) -> &AccountAddress;
fn find_script_function(&self, name: &IdentStr) -> Option<MoveFunction>; fn new_move_struct_field(&self, def: &FieldDefinition) -> MoveStructField { ... }
fn new_move_struct_tag(
        &self,
        index: &StructHandleIndex,
        type_params: &[SignatureToken]
    ) -> MoveStructTag { ... }
fn new_move_type(&self, token: &SignatureToken) -> MoveType { ... }
fn new_move_struct(&self, def: &StructDefinition) -> MoveStruct { ... }
fn new_move_function(&self, def: &FunctionDefinition) -> MoveFunction { ... } }

Required methods

Provided methods

Implementations on Foreign Types

Implementors