pub fn into_module(self) -> CompiledModuleMut {
        CompiledModuleMut {
            module_handles: self.module_handles,
            struct_handles: self.struct_handles,
            function_handles: self.function_handles,

            type_signatures: self.type_signatures,
            function_signatures: self.function_signatures,
            locals_signatures: self.locals_signatures,

            string_pool: self.string_pool,
            byte_array_pool: self.byte_array_pool,
            address_pool: self.address_pool,

            struct_defs: vec![],
            field_defs: vec![],
            function_defs: vec![self.main],
        }
    }
/// Converts a `CompiledScriptMut` to a `CompiledModule` for code that wants a uniform view
/// of both.
Converts a `CompiledScriptMut` to a `CompiledModule` for code that wants a uniform view
of both.
Converts a ` CompiledScriptMut ` to a ` CompiledModule ` for code that wants a uniform view of both .
pub fn into_module(self) -> CompiledModuleMut {
        CompiledModuleMut {
            module_handles: self.module_handles,
            struct_handles: self.struct_handles,
            function_handles: self.function_handles,
            type_signatures: self.type_signatures,
            function_signatures: self.function_signatures,
            locals_signatures: self.locals_signatures,
            string_pool: self.string_pool,
            byte_array_pool: self.byte_array_pool,
            address_pool: self.address_pool,
            struct_defs: vec![],
            field_defs: vec![],
            function_defs: vec![self.main],
        }
    }
pub fn into_module ( self ) -> CompiledModuleMut { CompiledModuleMut { module_handles : self . module_handles , struct_handles : self . struct_handles , function_handles : self . function_handles , type_signatures : self . type_signatures , function_signatures : self . function_signatures , locals_signatures : self . locals_signatures , string_pool : self . string_pool , byte_array_pool : self . byte_array_pool , address_pool : self . address_pool , struct_defs : vec ! [ ] , field_defs : vec ! [ ] , function_defs : vec ! [ self main ] , } }
Converts a `CompiledScriptMut` to a `CompiledModule` for code that wants a uniform view
of both.
Converts a ` CompiledScriptMut ` to a ` CompiledModule ` for code that wants a uniform view of both .
self