#[repr(C)]pub struct SerializedModule {
pub version: VersionInfo,
pub module_data_ptr: u64,
pub module_data_len: u64,
pub tables_ptr: u64,
pub tables_len: u64,
pub function_manifest_ptr: u64,
pub function_manifest_len: u64,
}
Expand description
SerializedModule is a serialization-friendly form of Module, in that the module_data_*
fields
here refer to a serialized ModuleData
, while tables_*
and function_manifest_*
refer to
the actual tables and function manifest written in the binary.
Fields§
§version: VersionInfo
§module_data_ptr: u64
§module_data_len: u64
§tables_ptr: u64
§tables_len: u64
§function_manifest_ptr: u64
§function_manifest_len: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SerializedModule
impl RefUnwindSafe for SerializedModule
impl Send for SerializedModule
impl Sync for SerializedModule
impl Unpin for SerializedModule
impl UnwindSafe for SerializedModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more