MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / component

Method component

crates/wasmtime/src/runtime/vm/component.rs:810–812  ·  view source on GitHub ↗

Returns a reference to the component type information for this instance.

(&self)

Source from the content-addressed store, hash-verified

808 /// Returns a reference to the component type information for this
809 /// instance.
810 pub fn component(&self) -> &Component {
811 &self.component
812 }
813
814 /// Same as [`Self::component`] but additionally returns the
815 /// `Pin<&mut Self>` with the same original lifetime.

Callers 15

newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by 15

newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36
newMethod · 0.36