pub struct ComponentArtifacts {
pub ty: TypeComponentIndex,
pub info: CompiledComponentInfo,
pub types: ComponentTypes,
pub static_modules: PrimaryMap<StaticModuleIndex, CompiledModuleInfo>,
}
Expand description
Serializable state that’s stored in a compilation artifact.
Fields§
§ty: TypeComponentIndex
The type of this component.
info: CompiledComponentInfo
Information all kept available at runtime as-is.
types: ComponentTypes
Type information for this component and all contained modules.
static_modules: PrimaryMap<StaticModuleIndex, CompiledModuleInfo>
Serialized metadata about all included core wasm modules.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ComponentArtifacts
impl<'de> Deserialize<'de> for ComponentArtifacts
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 ComponentArtifacts
impl RefUnwindSafe for ComponentArtifacts
impl Send for ComponentArtifacts
impl Sync for ComponentArtifacts
impl Unpin for ComponentArtifacts
impl UnwindSafe for ComponentArtifacts
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