pub struct CompiledComponentInfo {
pub component: Component,
pub trampolines: PrimaryMap<TrampolineIndex, AllCallFunc<FunctionLoc>>,
pub resource_drop_wasm_to_array_trampoline: Option<FunctionLoc>,
}
Expand description
Runtime state that a component retains to support its operation.
Fields§
§component: Component
Type information calculated during translation about this component.
trampolines: PrimaryMap<TrampolineIndex, AllCallFunc<FunctionLoc>>
Where lowered function trampolines are located within the text
section of code_memory
.
These are the
- Wasm-call,
- array-call
function pointers that end up in a VMFuncRef
for each
lowering.
resource_drop_wasm_to_array_trampoline: Option<FunctionLoc>
The location of the wasm-to-array trampoline for the resource.drop
intrinsic.
Trait Implementations§
source§impl<'de> Deserialize<'de> for CompiledComponentInfo
impl<'de> Deserialize<'de> for CompiledComponentInfo
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 CompiledComponentInfo
impl RefUnwindSafe for CompiledComponentInfo
impl Send for CompiledComponentInfo
impl Sync for CompiledComponentInfo
impl Unpin for CompiledComponentInfo
impl UnwindSafe for CompiledComponentInfo
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