pub struct CompiledModuleInfo {
pub module: Module,
pub meta: Metadata,
pub func_names: Vec<FunctionName>,
}
Expand description
Secondary in-memory results of module compilation.
This opaque structure can be optionally passed back to
CompiledModule::from_artifacts
to avoid decoding extra information there.
Fields§
§module: Module
Type information about the compiled WebAssembly module.
meta: Metadata
General compilation metadata.
func_names: Vec<FunctionName>
Sorted list, by function index, of names we have for this module.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CompiledModuleInfo
impl<'de> Deserialize<'de> for CompiledModuleInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CompiledModuleInfo
impl RefUnwindSafe for CompiledModuleInfo
impl Send for CompiledModuleInfo
impl Sync for CompiledModuleInfo
impl Unpin for CompiledModuleInfo
impl UnwindSafe for CompiledModuleInfo
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